Message-ID: <4F290B0C.6080302@bitwrit.com.au>
Date: 2012-02-01T09:51:08Z
From: Jim Lemon
Subject: Different type of legend?
In-Reply-To: <00c601cce03e$3c4faaf0$b4ef00d0$@charter.net>
On 02/01/2012 04:31 AM, Kevin Burton wrote:
> There must be a trick because I am not seeing a legend:
>...
Hi Kevin,
Try calling it like this:
color.legend(-0.4,0.35,0.37,0.4,rect.col=colors,
legend=1:11,align="rb")
I just looked at the plot limits, par("usr"), and worked out where to
put it. I think you may have placed the legend off the device.
Jim