[R] using color coded colorbars for bar plots
Jim Lemon
jim at bitwrit.com.au
Fri Nov 30 12:20:01 CET 2007
James.Dell at csiro.au wrote:
>
> 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?
>
Hi Jim (no, I'm not writing to myself),
Have you looked at color.legend?
Jim
More information about the R-help
mailing list