[R] image() with color key?
tlumley at u.washington.edu
Fri Sep 3 22:33:06 CEST 2004
On Fri, 3 Sep 2004, Berton Gunter wrote:
> In some applications, e.g., visualizing the values of the wells in a 96 well
> (8 x 12) assay plate, the matrix of results is truly discrete and you want
> to visualize it that way. image() does this, but not filled.contour() AFAIK.
> If that's correct, the only way I know how to do it is to overlay two plots
> (par(new=FALSE)),one for the data and the other for the legend. This is
> certainly not trivial, but it's not impossibly hard, either.
layout() is probably easier. That's how filled.contour does it.
> I hope I'm wrong on this, though, as I'd welcome an easier way, too.
> -- Bert Gunter
> Genentech Non-Clinical Statistics
> South San Francisco, CA
> "The business of the statistician is to catalyze the scientific learning
> process." - George E. P. Box
> > Does filled.contour() give you what you want?
> > Deepayan
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
Thomas Lumley Assoc. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help