[R] Different type of legend?

Jim Lemon jim at bitwrit.com.au
Tue Jan 31 10:36:33 CET 2012


On 01/31/2012 08:54 AM, rkevinburton at charter.net wrote:
> Sorry. I am not sure how to post a link. Basically the legend looks like:
>
> * * * * * * * * * * *
> -4 -3 -2 -1 0 1 2 3 4
>
> Where ' * ' are colored boxes that are right next to each other. Kind of
> like a gradient.
>
Hi Kevin,
The color.legend function (plotrix) might do what you want.

Jim



More information about the R-help mailing list