From: Alison on
Hi all,

Does anyone know how to (or if it is possible to) create a break in the axis of a boxplot figure? I don't mean just removing certain ticks or tick labels, but actually not plotting part of the scale, and putting hash marks in instead, -----/ /----- ? I have an outlier that makes the scale so large I can't see the detail in its main portion.

I found some code for putting such a break in a regular plot, but it seems boxplots are constructed differently?

Thanks!
From: Tom Lane on
> Does anyone know how to (or if it is possible to) create a break in the
> axis of a boxplot figure? I don't mean just removing certain ticks or
> tick labels, but actually not plotting part of the scale, and putting hash
> marks in instead, -----/ /----- ? I have an outlier that makes the scale
> so large I can't see the detail in its main portion.
> I found some code for putting such a break in a regular plot, but it seems
> boxplots are constructed differently?

Alison, I don't know how to do the specific thing you asked about, and am
not aware of this other code you found. But you might want to look at the
'datalim' and 'extrememode' arguments to the boxplot function, to see if
what they do would be satisfactory in your case.

-- Tom


 | 
Pages: 1
Prev: using mod
Next: MIMO in system identification