Dear S-plus users,
I would like to create a boxplot with several boxes where I can specify
the colors of inviduals boxes.
I have read the posting 'Summary of Specifying box colors in boxplot' by
Peter Sherer. I am not sure if the proposed script, which is based on
boxplot(split(y.dat,x.dat)), suits the way my data is arranged. I pick
two (or more) vectors of data from two (or more) different data sets.
An example could start out from this:
I have two data sets, data1 and data2, and I want to plot two variables
Y1 and Y2, from each data set.
I would like to specify the color (gray scale) of each box.
For example, different colors for different data sets, different colors
for different variables or completely manually on each box.
Any suggestions are appreciated!
Cheers,
Henrik
S-Plus 6.2, Win XP
--
************************
Henrik Pärn
Department of Biology
NTNU
7491 Trondheim
Norway
+47 735 96282 (office)
+47 909 89 255 (mobile)
+47 735 96100 (fax)
************************
|