[R] hello
Rashid Nassar
rnassar at duke.edu
Sun Nov 5 19:04:45 CET 2000
help(par) gives:
xaxp: A vector of the form `c(x1, x2, n)' giving the coordinates of
the extreme tick marks and the number of intervals between
tick-marks.
So I tried:
> plot(x <- seq(0,1000,by=100),x,xaxp=c(0,1000,10))
but that did not seem to work. The following works:
> plot(x <- seq(0,1000,by=100),x,axes=F)
> axis(1,at=seq(0,1000,by=100))
> axis(2,at=seq(0,1000,by=100),las=1)
Rashid Nassar
On Sun, 5 Nov 2000, Meriema Belaidouni wrote:
> Date: Sun, 05 Nov 2000 17:58:47 +0100
> From: Meriema Belaidouni <meriema at info.univ-angers.fr>
> To: r-help at hypatia.math.ethz.ch
> Subject: [R] hello
>
> Hello,
> I am a new user.
> I would like to know if it is possible with R to fix the position of
> ticks.
> for example for my plot I obtained automatically the positions
> 200,400,600,800 and 1000 on x axis and so a scale of 200
> But I would like to obtain
> 100,200,300,400,500,600,700,800,900,100 so a scale of 100.
> Which fonction can help me to do so?
> thank you
> meriema
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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