[R] split a y-axis to show data on different scales
AnupTyagi at yahoo.com
Sat Aug 19 14:27:37 CEST 2006
Johannes Hüsing <hannes <at> ruhrau.de> writes:
> > The pro's and con's of using "scale breaks" were discussed by
> > Cleveland (1985) The Elements of Graphing Data (Wadsworth, pp. 85-91,
> > 149). I don't know what Cleveland said about this is the second edition
> Spencer Graves:
> > but I believe there are times when scale breaks are
> > appropriate, but the display should make this nonstandard transition
> > very clear;
> ... in which case you are close to having two graphs
> sharing an x-axis and therefore saving on ink (yay!).
> R-help <at> stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
This is an interesting visual interpretation issue: it may be possible to shade
the y-axis (which his thick like the top bars in Lattice plots), or shade the
main graphing area from dark to light (or two shades, for two scales) to give a
visual idea about the "density" or "stretch" of the space/scale on which the
points are plotted. There is problems with this as well (interpretation of
scale), but sometimes it may provide a better and quick visual communication. Is
this possible in R?
More information about the R-help