[R] image legend

Jacob W. Bowers jbowers at csm.berkeley.edu
Thu Mar 8 19:24:38 CET 2001


A while back Jonathan Rougier posted a function called image.scale(),
which has worked nicely for me. Check it out here:
http://www.ens.gu.edu.au/robertk/R/help/99b/0483.html

I found it worked best floating in its own plot window (using layout() to
allocate most of the plotting area to the data plots and a tiny, thin,
section to an empty plot, which then contained the image.scale() legend).

Best,
Jake
---
Jake Bowers
Dept of Political Science
UC-Berkeley

On Thu, 8 Mar 2001 keith.briggs at bt.com wrote:

> I would like to add a legend to plots that I make with the image()
> function in the form of a strip of colours to the right of the plot
> annotated with their corresponding numerical values.
> Is this possible?
> Thank you,
> Keith
> 
> Dr. Keith M. Briggs, Complexity Research Group, BTexaCT.
> Adastral Park admin2 pp5, Martlesham Heath, IP5 3RE, Suffolk,  UK
> Tel: 01473 641 911  Fax: 01473 647 410.  Home tel:  01473 625 972
> Personal homepage http://www.btexact.com/people/briggsk2/ 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list