[R] Ticks on x axis

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu May 17 13:48:26 CEST 2001



Frank Gerrit Zoellner wrote:
> 
> Hi!
> 
> How can I change the tickmarks on the x axis. I want to make a plot and on the x axis I ve got values from 0 to 360. I want have a tickmark like 0,10,20,...

Try

 plot(0:360, xaxt="n")
 axis(1, at=seq(0,360,10))

or

 plot(0:360, xaxt="n")
 axis(1, at=seq(0,360,10), cex.axis=0.7, las=2)


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