Skip to content
Prev 333339 / 398506 Next

Setting axis scale for a boxplot

Add ylim=c(dataMin, dataMax) to each call to boxplot(), where
you specify values for dataMin and dataMax so their range is
likely to cover all your data.  ('ylim', not 'xlim' - the horizontal=TRUE
flips the meaning of 'x' and 'y'.)

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com