[R] A question about using function plot

Richard M. Heiberger rmh at temple.edu
Mon Jul 14 18:44:44 CEST 2008

Your x values look to be multiples of two, therefore you might
be interested in using log values for the x axis.

x = c(1,2,4,8) 
y = c(1,2,3,4) 
plot(x, y, log="x", xaxt='n')
axis(1, at=x, labels=x)

More information about the R-help mailing list