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
Here is an example with what I've been able to manage for a vertical
colorkey:
library(lattice)# make levelplot available
library(openair) # make drawOpenKey available
# construct data
x = 1:10
y = rep(x,rep(10,10))
x = rep(x,rep(10))
z = x+y # in centimeters
# try work-around,
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:
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
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
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
You don't show code or a reproducible example, so I guess you want a
general answer. Use the draw.colorkey() function inside the
levelplot() call. It takes an argument key =, which accepts a list of
arguments, including space, col, at, labels, tick.number, width and
height (see p. 155 of the
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.
Carlisle
On 11/14/11 6:03 PM, Dennis Murphy wrote:
You don't show code or a reproducible
8 matches
Mail list logo