[R] hello

Ross Ihaka ihaka at stat.auckland.ac.nz
Sun Nov 5 20:17:12 CET 2000

On Sun, Nov 05, 2000 at 05:58:47PM +0100, Meriema Belaidouni wrote:
> 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

Here is a simple example; plotting a sequence of 1000 random numbers
against the sequence 1:1000.

    plot(1:1000, rnorm(1000), axes=FALSE)	#  plot with no axes
    axis(1, at = seq(0, 1000, by = 100))	#  custom x axis
    axis(2)					#  default y axis
    box()					#  box around the plot

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