legend(locator(1), month.abb[1:5], fill=T, col=1:5) gives me 5 black boxes.
Try:
legend(locator(1), month.abb[1:5], fill=1:5)
The "T" is interpreted as (equal to?) a "1", so you're requesting the boxes to be filled with color 1, which is black.What am I doing wrong?
- Hedderik.
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help