I'd like to wrangle scale_y_log10 into putting major and minor lines
where I want them. (The current graph I'm drawing puts 2 major lines
and 2 minor lines per decade by default. I'd like instead 1 major line
per decade, at 10^x, and 9 minor lines.)
What is working is if I call (I'm using rpy2, so the syntax might be
off as I'm translating to R):
scale_y_log10(breaks="10**(0:10)",
minor_breaks=([1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100,200,300,400,500,600,700,800,900,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000]))
+ \
but then I'm just putting them in manually.
I'd much rather be able to say "draw one break every decade and 9
evenly spaced minor breaks every decade" rather than have to type them
in manually. Any way to do this?
JDO
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example:
http://gist.github.com/270442
To post: email
ggp...@googlegroups.com
To unsubscribe: email
ggplot2+u...@googlegroups.com
More options:
http://groups.google.com/group/ggplot2