Re: [R] color of opposite sign values in filled.contour

2007-01-05 Thread Jim Lemon
Claudia Tebaldi wrote: Dear R-helpers, I'm plotting geophysical data in the form of contours using filled.contour. The display would be much more effective if the areas with negative values could be color coded by -- say -- cold colors in the range of blue to green, and conversely the

Re: [R] color of opposite sign values in filled.contour

2007-01-05 Thread Achim Zeileis
On Thu, 4 Jan 2007, Richard M. Heiberger wrote: Get the RColorBrewer package from CRAN Description: The packages provides palettes for drawing nice maps shaded according to a variable. The package vcd also offers the function diverge_hcl() that constructs diverging palettes (based on

Re: [R] color of opposite sign values in filled.contour

2007-01-05 Thread Claudia Tebaldi
Dear all, especially those of you that kindly provided suggestions yesterday, I was not asking for cool palettes -- even if I now appreciate the pointers -- but I was asking for a way to make the 0 level of a filled contour plot correspond to the neutral color in the color scale when the range

Re: [R] color of opposite sign values in filled.contour

2007-01-05 Thread Duncan Murdoch
On 1/5/2007 9:08 AM, Claudia Tebaldi wrote: Dear all, especially those of you that kindly provided suggestions yesterday, I was not asking for cool palettes -- even if I now appreciate the pointers -- but I was asking for a way to make the 0 level of a filled contour plot correspond to the

[R] color of opposite sign values in filled.contour

2007-01-04 Thread Claudia Tebaldi
Dear R-helpers, I'm plotting geophysical data in the form of contours using filled.contour. The display would be much more effective if the areas with negative values could be color coded by -- say -- cold colors in the range of blue to green, and conversely the areas with positive values got

Re: [R] color of opposite sign values in filled.contour

2007-01-04 Thread hadley wickham
Hi Claudia, It's quite easy to do this using ggplot, although you get exactly the same appearance as filled.contour (hopefully in the next version). Have a look at ggtile and scgradient. Regards, Hadley On 1/4/07, Claudia Tebaldi [EMAIL PROTECTED] wrote: Dear R-helpers, I'm plotting

Re: [R] color of opposite sign values in filled.contour

2007-01-04 Thread Richard M. Heiberger
Get the RColorBrewer package from CRAN Description: The packages provides palettes for drawing nice maps shaded according to a variable. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the