[R] vertically oriented color key in heatmaps

Rajarshi Guha rguha at indiana.edu
Mon Aug 13 21:46:53 CEST 2007


Hi, I have some data which I was plotting using image(). I wanted to  
add a vertical color key to the plot and I found that heatmap.2 in  
gplots does let me add a color key. However, I was thinking of a  
vertical bar with the color range rather than  the style that gplots  
provides.

Is there any package (or code snippet) that would let me add a  
vertical color key to an image() or heatmap plot?

Thanks,

-------------------------------------------------------------------
Rajarshi Guha  <rguha at indiana.edu>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04  06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
Q:  What do you get when you put a spinning flywheel in a casket and
     turn a corner?
A:  A funeral precession.



More information about the R-help mailing list