[R] A patch for boxplot.R

Peter.Baker@ALG.VF.WAU.NL Peter.Baker at ALG.VF.WAU.NL
Tue Jan 12 11:40:30 CET 1999


			[this was sent to R-help-owner instead of R-help.
			 why on earth ??!???!?   
			 well, I took the liberty to cut the long citation.. MM]

Dear Yusuke

These changes look interesting.

Have you considered being able to specify a different shading or crosshatching 
for each box. I can't see how you can do this at present. You can get 
different colours but of course this is no good for black and white printing 
or copying.

My main aim in doing this is to get clustered box plots a.la. SPSS. Then I can 
throw SPSS away ;-)

Regards
Peter

- - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - -
On Tue Jan 12 13:30:30 1999,
Yusuke Uchiyama <me at naxgul.kais.kyoto-u.ac.jp> wrote:
>Hello,
>
>I made a patch for boxplot.R.
>
>These changes allow you to determine the color of upper half, center line, 
>and lower half  of a box separately.
>
>You can specify these colors by topcol, center, and bottomcol, respectively.
>
>I will appreciate any suggestion for better implementation and I hope that 
>these features are included to a future version of R.
>
>Yusuke Uchiyama
>e-mail: yusuke at kais.kyoto-u.ac.jp
>
>----please cut---
>
>*** boxplot.R.org	Tue Jan 12 12:18:48 1999
>--- boxplot.R	Mon Jan 11 22:55:31 1999
>***************
>*** 1,6 ****
>  boxplot <- function(x, ..., range=1.5, width=NULL, varwidth=FALSE,
>  		    notch=FALSE, names.x, data=sys.frame(sys.parent()),
>! 		    plot=TRUE, border=par("fg"), col=NULL, log="", pars=NULL)
>  {
>      args <- list(x,...)
>      namedargs <-
>--- 1,6 ----
>  boxplot <- function(x, ..., range=1.5, width=NULL, varwidth=FALSE,
>  		    notch=FALSE, names.x, data=sys.frame(sys.parent()),
>! 		    plot=TRUE, border=par("fg"), center=par("fg"), 
>topcol=NULL,bottomcol=NULL, log="", pars=NULL)
>  {
>      args <- list(x,...)
>      namedargs <-
>***************

> ..........
> ..........
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list