[R] xticklabel

Martin Maechler maechler at stat.math.ethz.ch
Fri May 12 17:47:20 CEST 2006


>>>>> "Chuck" == Chuck Cleland <ccleland at optonline.net>
>>>>>     on Fri, 12 May 2006 08:12:31 -0400 writes:

    Chuck> ?axis
    Chuck> For example:

   plot(runif(100), runif(100), axes=FALSE)
   axis(side=1, at=seq(0,1,.1), paste("my", seq(0,1,.1)))
   axis(side=2)
   box()

or slightly more easily:

   plot(runif(100), runif(100), xaxt = "n")
   axis(side=1, at=seq(0,1,.1), paste("my", seq(0,1,.1)))



    Chuck> Felix Bollenbeck wrote:
    >> Hi together!
    >> I startet R today, and with my first problem, I will very much apreciate
    >> help:
    >> 
    >> How can I set custom strings to by the x and y tick labels in a plot?
    >> 
    >> Best regards, TIA,
    >> 
    >> Felix.




More information about the R-help mailing list