[R] move colorkey
Peter Ehlers
ehlers at ucalgary.ca
Wed Sep 29 13:32:46 CEST 2010
On 2010-09-28 18:39, Marlin Keith Cox wrote:
> When using a wireframe, I need to move the colorkey from the "right"
> position (default0 towards the plot. I have also needed to adjust the
> height and used the code
>
> colorkey=list(T,space='right',height=.5)
>
> I have looked at documents (within levelplot) but cannot find a way to
> move the colorkey other than right, left, bottom and top. I do not
> understand corner interacts with x, y; unimplemented. Is this a way
> to place a colorkey.
>
> keith
>
Try adding a layout.widths setting to your wireframe call:
par.settings = list(layout.widths = list(key.right = 0.8))
You might then have to adjust the space on the right with
par.settings = list(layout.widths = list(key.right = 0.8,
right.padding = 2))
-Peter Ehlers
More information about the R-help
mailing list