I think I'm missing something tonight in the usage of 'legend':

plot(0, type="n")
legend(locator(1), month.abb[1:5], pch=15, col=1:5)

gives me something similar to what I want. But

legend(locator(1), month.abb[1:5], fill=T, col=1:5)

gives me 5 black boxes.

What am I doing wrong?

Thank you, 


> version
         _
platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    6.1
year     2002
month    11
day      01
language R


Mark Wilkinson
Informatics Analyst
St. Jude Children's Research Hospital
Department of Pharmaceutical Sciences

The opinions expressed here are my own and do not necessarily represent
those of St. Jude Children's Research Hospital.

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to