On Nov 15, 2011, at 8:23 AM, Carlisle Thacker 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.
You are right. I failed to test my presumptions. Apologies extended.
--
David.
Thanks for your assistance.
On 11/15/11 7:54 AM, David Winsemius wrote:
On Nov 14, 2011, at 7:20 PM, Carlisle Thacker wrote:
Thanks, Dennis. Yes, I can do that, but that locks the physical
units to locations of the labels. I had hoped that there might be
something a bit more flexible, like a subtitle or more general text.
If you would take the time to describe what you wanted you would
save everybody's time, yours and ours. I'm sure that levelplot's
help page refers you to the xyplot help page for details on key
parameters. So here are a few of the parameter it makes available
but the entirelist takes up several pages and is not reproduced here:
title
String or expression giving a title for the key.
cex.title
Zoom factor for the title.
lines.title
The amount of vertical space to be occupied by the title in lines
(in multiples of itself). Defaults to 2.
David Winsemius, MD
West Hartford, CT
______________________________________________
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.