Message-ID: <C4F8748B-3EE4-11D7-85A6-000393678426@cmu.edu>
Date: 2003-02-13T00:51:03Z
From: Hedderik van Rijn
Subject: legend
In-Reply-To: <A1DAD6685C12D511B20F00034725151380CE75@sjmemexc3.stjude.org>
> 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)
> What am I doing wrong?
The "T" is interpreted as (equal to?) a "1", so you're requesting the
boxes to be filled with color 1, which is black.
- Hedderik.