Thanks very much, that worked superb!
On Thu, May 22, 2014 at 3:41 PM, Richard M. Heiberger wrote:
> ## Shane,
>
> ## This uses your color_list. Your other variables weren't included
> in the email
> ## so I invented some data.
>
> ## I recommend bwplot() using panel=panel.bwplot.superpose
>
>
## Shane,
## This uses your color_list. Your other variables weren't included
in the email
## so I invented some data.
## I recommend bwplot() using panel=panel.bwplot.superpose
## and I also show how to use boxplot()
## install.packages("HH") ## if necessary.
library(HH)
## install.packages
Hi
Im producing boxplots based on factors and rearranging them by median (This
is for a Geochemistry element). Im giving each boxplot a unique color based
on its level (factor) name.
Im trying to produce a look up list to produce these colors as the order of
the boxplots will change from element
You are drawing four box plots, not two. Two of them are just the number 5.
The two box plots that are only "5" don't have a box, so you can't see that
they're red. Try this:
boxplot(1:19,20:39,col=c("red","blue"))
Paul Adams-8 wrote:
>
> Hello everyone,
>
>
> I am trying to color two boxpl
Hello everyone,
I am trying to color two boxplots on the same graph two
different colors.
I have tried the following
boxplot(5,1:19,5,20:39,col=c("red","blue"))
but all I get are two blue boxes.
Any help would be appreciated
Paul
[[alternative HTML version deleted]]
_
5 matches
Mail list logo