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

______________________________________________
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