HongSheng Liao
2008-Mar-03 14:03 UTC
[R] How to make a break on y-axis of a histogram chart using R?
Attached is a histogram chart with a break on y-axis which my friend made for me using phot shop. Do anyone know how to make such a break using R? Thanks in advance. (See attached file: 2007 age distribution.doc) Hongsheng (Hank) Liao, Ph.D. Lab Manager Center for Quantitative Fisheries Ecology 800 West 46th Street Old Dominion University Norfolk, Virginia 23508 Phone:757.683.4571 Fax:757.683.5293
hadley wickham
2008-Mar-03 14:52 UTC
[R] How to make a break on y-axis of a histogram chart using R?
It is possible to do this with R, but I really don't think it is desirable because it can produce a very misleading graphic. Why do you want to introduce a break in the axis? Hadley On Mon, Mar 3, 2008 at 8:03 AM, HongSheng Liao <HLiao at odu.edu> wrote:> > Attached is a histogram chart with a break on y-axis which my friend made > for me using phot shop. Do anyone know how to make such a break using R? > Thanks in advance. > > (See attached file: 2007 age distribution.doc) > Hongsheng (Hank) Liao, Ph.D. > Lab Manager > Center for Quantitative Fisheries Ecology > 800 West 46th Street > Old Dominion University > Norfolk, Virginia 23508 > Phone:757.683.4571 > Fax:757.683.5293 > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >-- http://had.co.nz/
Jim Lemon
2008-Mar-04 09:16 UTC
[R] How to make a break on y-axis of a histogram chart using R?
HongSheng Liao wrote:> Attached is a histogram chart with a break on y-axis which my friend made > for me using phot shop. Do anyone know how to make such a break using R? > Thanks in advance. >Hi Hank, As your illustration didn't make it through the R malware filter, I can only say that gap.plot in the plotrix package _might_ do what you want. As Hadley has noted, make sure that it shows what you want to show. Jim