[R] Automatic Ticks along Axis

Lorenzo Isella lorenzo.isella at gmail.com
Fri Nov 9 17:06:13 CET 2007

Dear All,
A quick question: I need to generate a lot of graphs via an R script.
To speed up things, I typically define automatically a ylim parameter
ranging from the minimum to the maximum of the represented data.
However, some of the graphs are not easy to read since the lower /
higher tick on the y axis sometimes does not have enough space to
print out the corresponding number or it is located rather far from
the top/bottom of the y axis.
I know I could redefine the axis labels myself (e.g. see
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/57011.html for a
slightly different problem)
, but I wonder if I can make this automatic.
Many thanks and I hope this is not a FAQ I missed.


More information about the R-help mailing list