Re: [R] How to set Color scale for color2D.matplot()

2011-07-22 Thread Jim Lemon
On 07/22/2011 01:42 AM, Youcheng Lin wrote: Hello, everyone. I am trying to show the correlation matrix using color2D.matplot(). And I want to map (0,1) to (dark red to dark green). But by default color2D.matplot() will map(min element of given matrix, max element of given matrix) to (dark r

[R] How to set Color scale for color2D.matplot()

2011-07-21 Thread Youcheng Lin
Hello, everyone. I am trying to show the correlation matrix using color2D.matplot(). And I want to map (0,1) to (dark red to dark green). But by default color2D.matplot() will map(min element of given matrix, max element of given matrix) to (dark red to dark green). Can anyone help me with thi