Thanks.

On 11/23/11 2:20 AM, Deepayan Sarkar wrote:
On Tue, Nov 15, 2011 at 6:53 PM, Carlisle Thacker
<carlisle.thac...@noaa.gov>  wrote:
Sorry that I was not clear.  I was asking how to add annotation to
levelplot's colorkey, not the levelplot itself.  The only entry I can
find from the help pages is via its labels.

Googling did yield this:  " draw.colorkey() doesn't support a title for
the legend".  So I presume there is also no support for any other
annotation.
That is correct. Note that having support for more annotation is not
technically difficult, but it's not clear what a good design would be.

For the purpose you describe, I typically do something like

levelplot(volcano, colorkey = list(space = "top"),
           main = "Height (cm)")

But I don't know how to do this nicely with a vertical color key.

-Deepayan

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to