[R] plot() the length of axis labels problem

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon May 13 08:23:01 CEST 2002

ken_lee wrote:
> Dear all,
>       I want to chage the scale oder when I use the plot (x , y ,xlim=c(xmin,xmax), ylim=c(ymin,ymax) ) the default scale order was given like
> x axis labels are 60,70,80,90,100 ,if I could , I hold axis labels are 60,65,70,75,80,85,90,95,100.

Use axis(). Example:
 plot(60:100, 60:100, xaxt="n")
 axis(1, at=seq(60, 100, 5))

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