[R] image legend -> filled.contour() !

Martin Maechler maechler at stat.math.ethz.ch
Fri Mar 9 10:04:36 CET 2001


I think you should definitely have a look at  filled.contour()
which is really a nice combination of  image() & contour()
and it has the ``colour strip scale'' to the right.

Get a first showoff from

    par(ask = TRUE)
    example(filled.contour)

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

>>>>> "Jacob" == Jacob W Bowers <jbowers at csm.berkeley.edu> writes:

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

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

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

    Jacob> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list