[R] set a legend with an "image" graph

Luis Ridao Cruz Luisr at frs.fo
Tue Mar 17 15:09:20 CET 2009


I have an image plot and I wish to set a legend to it
but I don't have an idea how to do it. Below it's the code line.

image(yyy, col = rev(heat.colors(10)), axes = T)

Thanks in advance.

More information about the R-help mailing list