Message-ID: <3B910B63.BA9AE68C@statistik.uni-dortmund.de>
Date: 2001-09-01T16:22:59Z
From: Uwe Ligges
Subject: new newbie graphics question
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.
Try
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._