[R] graph question
matthew_wiener at merck.com
Wed Oct 13 04:18:33 CEST 2004
I believe just setting log = "y" in your plot command should do this.
> plot(runif(100, 1, 100), runif(100, 1, 100), log = "xy")
gives me tick marks at 2, 5, 10, 20, 50, and 100. (YMMV because of the
Hope this helps,
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dean Sonneborn
Sent: Tuesday, October 12, 2004 2:02 PM
To: R-help at stat.math.ethz.ch
Subject: [R] graph question
I would like to produce a graph which plots a log scale variable on the
y-axis but have the tick marks on the y-axis be the non log transformed
values that are round like .5, 1, 2, 3, 4 etc. Has anyone done something
like this in the past? How did you implement it in the code?
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!
More information about the R-help