Daniel Brewer icr.ac.uk> writes:
>
> Hello,
>
> I have a bar plot where I am already using colour to distinguish one set
> of samples from another. I would also like to highlight a few of these
> bars as ones that should be looked at in detail. I was thinking of
> using hatching, but I can't
Hello Daniel,
something like that might work:
x <- runif(6)
marker1 <- rep(c("red", "blue"), 3)
marker2 <- c(rep(0,5), 10)
barplot(x, col = marker1)
barplot(x, density = marker2, add=T)
But I'd be interested if you learn about other solutions...
-Heinrich.
> -Ursprüngliche Nachricht-
>
2 matches
Mail list logo