Re: [R] vertically oriented color key in heatmaps

2007-08-14 Thread Rajarshi Guha

On Aug 14, 2007, at 5:11 AM, Jim Lemon wrote:

> Rajarshi Guha wrote:
>> 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?
> Hi Rajarshi,
> Have a look at color.legend in the plotrix package.

Thanks!

---
Rajarshi Guha  <[EMAIL PROTECTED]>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04  06F7 1BB9 E634 9B87 56EE
---
Artificial intelligence has the same relation to intelligence as
artificial flowers have to flowers.
-- David Parnas

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] vertically oriented color key in heatmaps

2007-08-14 Thread Jim Lemon
Rajarshi Guha wrote:
> 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?
> 
Hi Rajarshi,
Have a look at color.legend in the plotrix package.

Jim

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] vertically oriented color key in heatmaps

2007-08-13 Thread Vladimir Eremeev

colorbar() from the package matlab.


nightly.py wrote:
> 
> 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?
> 

-- 
View this message in context: 
http://www.nabble.com/vertically-oriented-color-key-in-heatmaps-tf4263271.html#a12138673
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.