Hi all,
I would like to ask your help to add a color band (Î am not sure regarding the
right term, this color band at the right of the plot "describing" values with
their corresponding color.
For now I have only this code
test<-matrix(data=runif(10000),nrow=100)
plot(test,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) #
but I would like to add at the right side the color legend.
How can I do that in R?
I would like to thank you in advance for your help
R.
Alex
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.