William Valdar wrote:
> Dear All,
> 
> How can I query the parameters of the current plot if it was produced by 
> plot()? For example, if I do not specify ylim explicitly, eg,
> 
>   plot(rnorm(100), rnorm(100))
> 
> then how do find out what ylim was chosen? Note that I realize this is 
> possible with lattice's xyplot():
> 
>   (obj <- xyplot(rnorm(100), rnorm(100)))
>   print(obj$y.limits)

par("usr") tells you the size in user coordinates.

Uwe Ligges


> Thanks in advance,
> 
> Will
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Dr William Valdar               ++44 (0)1865 287 589
> Wellcome Trust Centre           [EMAIL PROTECTED]
> for Human Genetics, Oxford      www.well.ox.ac.uk/~valdar
> 
> ______________________________________________
> [email protected] 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.

______________________________________________
[email protected] 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