Hi Tim,
You might want to try it with the following:
par(usr=c(-2,1,ymin,ymax)
Where -2 and 1 are the exponents for your x-values, and ymin and ymax the
margins you want for your y-values.
Then you plot as usual adding the following parameters:
Dear All,
I've done some searching, but to no avail --
I'm plotting x-y data via the plot command, and the log=x command.
The graphed x values are in scientific notation (1e-02 1e-01 1e+00 etc).
Might you have some idea on how I can get the plot to uses the x values
(0.01 0.10 1.0 10.0 etc)
Hi,
There may be a simpler way but try this,
plot(10^jitter(seq(-2,4,length=10)), 1:10, log=x, xaxt=n)
axis(1, at = axTicks(1),labels = format(axTicks(1),scientific=FALSE))
HTH,
baptiste
On 18 July 2010 10:58, Timothy O'Brien teobr...@gmail.com wrote:
Dear All,
I've done some searching,
On 07/18/2010 06:58 PM, Timothy O'Brien wrote:
Dear All,
I've done some searching, but to no avail --
I'm plotting x-y data via the plot command, and the log=x command.
The graphed x values are in scientific notation (1e-02 1e-01 1e+00 etc).
Might you have some idea on how I can get the plot
4 matches
Mail list logo