From arnima at u.washington.edu  Tue Aug 16 21:26:21 2005
From: arnima at u.washington.edu (arnima@u.washington.edu)
Date: Tue, 16 Aug 2005 21:26:21 +0200 (CEST)
Subject: [Rd] yaxs in bxp() (PR#8072)
Message-ID: <20050816192621.B3A5F18B9D@slim.kubism.ku.dk>

It would be easy to add 'yaxs' support to bxp(), which can aid visual 
comparison when the lower limit is zero. The two lines from boxplot.R that 
would change are:


  plot.window(ylim=c(0.5,n+0.5), xlim=ylim, log=log)
to
  plot.window(ylim=c(0.5,n+0.5), xlim=ylim, xaxs=pars$yaxs, log=log)

and

  plot.window(xlim=c(0.5,n+0.5), ylim=ylim, log=log)
to
  plot.window(xlim=c(0.5,n+0.5), ylim=ylim, yaxs=pars$yaxs, log=log)


Boxplots already respond to a global par(yaxs="i"), and I think users 
would appreciate support for the local graphical parameter as well.

Thanks,
Arni

R 2.1.1-patched on WinXP



[Rd] yaxs in bxp() (PR#8072)
arnima@u.washington.edu