[R] lattice::xyplot axis padding with fontfamily="mono"

Benjamin Tyner btyner at gmail.com
Thu May 28 01:38:12 CEST 2009


Say I have a predictor taking a very wide value:

   Data <- 

   print(xyplot(pred~resp, data=Data)) # enough y-axis padding to 
accommodate the wide label

   print(xyplot(pred~resp, data=Data,scales=list(fontfamily="mono"))) # 
not enough padding

What's the recommended way to have enough padding allocated?

Thank you

More information about the R-help mailing list