Have you looked at the code for the heatmap and heatmap.2 (gregmisc package)? Also, it seems you might be able to do it with grid graphics? Finally, I think there is a colorbar command in the marray package available at http://www.bioconductor.org that generated color bars for image plots. A combo of image and colorbar (?maColorBar) in grid or something like that may work.

Perhaps the simplest solution would be to use heatmap or heatmap.2 directly with dendrogram='none'.

Hope this helps.

Sean

On Sep 3, 2004, at 4:20 PM, 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.


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

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html


______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to