[R] using color coded colorbars for bar plots

James.Dell at csiro.au James.Dell at csiro.au
Fri Nov 30 04:44:10 CET 2007


	
Hello R Fundi,

The poetic title of this post is a request for help in regard to a
"simple" plotting question.  
I have displayed the mean observations of a series variables using
barplot().  On the same figure I have colored the bars to represent the
Standard deviation of each variable using color.scale().  Now I wish to
add a graduated colorbar (legend) that corresponds to the colors
representing the standard devitation.  Simple.  Or so it seemed.  Has
anyone attempted to do this before?  

Thanks for your time.

Jim Dell



More information about the R-help mailing list