[R] new newbie graphics question

Uwe Ligges ligges at amadeus.statistik.uni-dortmund.de
Sat Sep 1 18:22:59 CEST 2001

Myriam Abramson wrote:
> Thanks for all the responses.
> FWIW, the par(new=TRUE) does rescale the graph as opposed to
> lines(...) so it's more appropriate in the general case.
> Yep, I do find the documentation rather terse.
> For example, I haven't been able to rescale the axes properly.
> I have 30 data points but I want the x-axis to read from 0 to 3000.
> How is that done? What I've tried from looking at the ?axis
> documentation does not work and then my y-axis is messed up.

  plot(..., xlim=c(0, 3000))

Uwe Ligges
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list