[R] number format in plots

Jarek Jasiewicz jarekj at amu.edu.pl
Thu Oct 9 20:40:25 CEST 2008


Hi
It is probably simple but how to force in plot command number format:
20000, 30000, 40000 etc. instead of 2e+04, 3e+04 etc.

example of command:

plot(x=data$along, y=data$rzedna,type="l", xlim=c(0,max(data$along)), 
ylim=c(200,1200), main="", xlab="length", ylab="height", cex.main=2, 
cex.lab=1.5, cex.axis=1.2, lwd=2)

thanks
Jarek



More information about the R-help mailing list