Re: [R] get ylim of current plot()

2006-08-31 Thread Uwe Ligges
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

Re: [R] get ylim of current plot()

2006-08-31 Thread Dimitrios Rizopoulos
I don't think you can obtain these values directly since plot.default() does not return something. 'ylim' is in fact calculated from xy.coords() as the range of the finite 'y' abscissa values; check the code of plot.default() for more info. I hope it helps. Best, Dimitris Dimitris