Skip to content
Prev 243930 / 398506 Next

scale caption on levelplot

On Dec 4, 2010, at 8:25 AM, Andrew Collier wrote:

            
Agreed. I could not find one in the levelplot help page or in the  
chapter of Lattice on legends and keys. Sarkar basically says you need  
to use grid calls if you want to go beyond the basics.
Your question has no reproducible example but suggests that you do not  
understand that levelplot is a lattice function and that lattice uses  
grid graphics. The par arguments that lattice understands (or is  
willing to deal with gracefully) are passed through trellis.par.set().  
The current settings are accessible with:

trellis.par.get()

  Since lattice is implemented with grid graphics, you may get useful  
information from:

require(grid)   # lattice apparently loads gpar and its help page but  
doesn't
                 # actually load grid. (I don't understand this. )
?gpar()   # Which has examples that may allow you to get a better  
understanding
           # of how to layer new material on top of existing grid  
graphics.