[R] How to get the scale limits in lattice plot

James Rome jamesrome at gmail.com
Thu Apr 1 17:53:52 CEST 2010


I am drawing a density histogram, and want to label the plots with the
mean using ltext(). But I need the x,y coordinates to feed into ltext,
and I can't calculate them easily from my data. Is there a way to get
the x and y ranges being used for the plot, so I can put the text at the
correct position in the panel.function?

Thanks,
Jim Rome



More information about the R-help mailing list