Re: [R] using a custom color sequence for image()

2009-10-18 Thread Jim Lemon
On 10/17/2009 01:25 AM, Rajarshi Guha wrote: Hi, I'd like to use a custom color sequence (black - low values, green - high values) in am image() plot. While I can specify colors (say a sequence of grays) to the col argument, the ordering is getting messed up. I have two questions: 1. How can I

[R] using a custom color sequence for image()

2009-10-16 Thread Rajarshi Guha
Hi, I'd like to use a custom color sequence (black - low values, green - high values) in am image() plot. While I can specify colors (say a sequence of grays) to the col argument, the ordering is getting messed up. I have two questions: 1. How can I get a sequence of say 256 colors starting from

Re: [R] using a custom color sequence for image()

2009-10-16 Thread Alberto Monteiro
Rajarshi Guha asked: Hi, I'd like to use a custom color sequence (black - low values, green - high values) in am image() plot. While I can specify colors (say a sequence of grays) to the col argument, the ordering is getting messed up. I have two questions: 1. How can I get a sequence