The image function in package Matrix plots a color legend by default.
Searching on what seemed like the obvious strategy "image legend" in R
Site Search would have identified this and a huge number of other
alternatives, of which Lemon's color2D.matplot is the tenth.
--
David Winsemius
On Jun 10, 2009, at 5:28 AM, Muri Soares wrote:
Hi,
Is there a way to make the filled.contour() function produce a plot
similar to the image() function? i.e. not have smooth contours but
rather distinct "squares" corresponding to the different cells of
the matrix. The reason I ask is because since image doesn't have an
option to display colour bars it is a lot less useful.
Cheers
Muri Soares
Department of Maths and Applied Maths
University of Cape Town
South Africa
[[alternative HTML version deleted]]
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.