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 -- M. Keith Cox, Ph.D. Alaska NOAA Fisheries, National Marine Fisheries Service Auke Bay Laboratories 17109 Pt. Lena Loop Rd. Juneau, AK 99801 Keith.Cox at noaa.gov marlinkcox at gmail.com U.S. (907) 789-6603
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