Re: [R] A question about using function plot

From: Richard M. Heiberger <>
Date: Mon, 14 Jul 2008 12:44:44 -0400

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) mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Jul 2008 - 17:04:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jul 2008 - 17:31:21 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive