Re: [R] graph question

2004-10-12 Thread Prof Brian Ripley
On Tue, 12 Oct 2004, Dean Sonneborn wrote: 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

RE: [R] graph question

2004-10-12 Thread Wiener, Matthew
Dean -- I believe just setting log = y in your plot command should do this. For example: 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 random numbers.) Hope this helps, Matt Wiener -Original Message-