[R] interrupted Y axis

From: Nick Drew <drewbrewit_at_yahoo.com>
Date: Sat 02 Jul 2005 - 23:09:33 EST


I did not find an answer to my question after a quick search using the R
search engine so thought I'd ask away:

Does any know if there's a function exists to create an interrupted Y axis?
What I mean by interrupted Y axis is that part of the Y axis has been
removed or excised to permit one to see parts of the data in more detail.

Perhaps an example will make this clear. Please go to http://www.jbc.org/cgi/reprint/274/41/28950 and open the PDF document
located there. Go to page 4, figure 2c provides a crude example of what I
mean by interrupted Y axis. Part of the Y axis between 800 and 4500 has been
removed to permit easy inspection of the upper end of the range of data.
(This is not my work but simply an example of what I'm trying to describe.)
One finds these interrupted Y axis graphs in newspapers or other
periodicals, more often than not as a bar chart.

Does a function in R exist to permit on to this easily to a graph? If not,
would such a function be useful? If yes, would the grid package be the right
tool for me to try and implement this?
~Nick



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 02 23:14:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:11 EST