[R] discontinuous y-axis (ordinate with a -/ /-)

jobst landgrebe jlandgr1 at gwdg.de
Thu Nov 17 14:45:01 CET 2005


Dear Jim,

thanks a lot, that did it.

Jobst

On Thu, Nov 17, 2005 at 10:18:01PM -0500, Jim Lemon wrote:
> jobst landgrebe wrote:
> >Dear List,
> >
> >can anyone tell me how to plot a discontinuous y-axis (ordinate
> >with a -/ /- "break sign") to fit in data with a wide range without the
> >need of logarthimic transformation? My data are distributed like this:
> >
> >(abscissa: 1:10)
> >
> >1. vector to plot
> >
> >   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
> >  4.030   5.987   6.865  19.520  16.200  88.000
> >
> >2. vector to plot
> >
> >   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
> >  0.000   2.112   2.620   2.976   4.303   7.030 
> >
> >I have just this one 88 outlier and cannot log-transform the data
> >(reviewers want plain data).
> >
> Have a look at axis.break in the plotrix package. Also, the function I 
> posted earlier (gap.barplot) could be modified to do something like this.
> 
> Jim

-- 
Dr. Jobst Landgrebe
Universität Göttingen
Abt. Biochemie 2
Heinrich-Düker-Weg 12
37073 Göttingen
Germany
-------------------------------
tel: 0551/39-5902 oder -2316
fax: 0551/39-5979
mail: jlandgr1 at gwdg.de




More information about the R-help mailing list