[R] filled.contour and NA's

antonio rodriguez antonio.raju at gmail.com
Fri Dec 8 20:05:03 CET 2006


Hi Gustaf

> I'm having the same issue myself. What I've ended up doing is
> replacing NA's with a big negative value, define "levels" as one color
> for negative values, and a regular scale above. 

How to define 'levels' as one color for negative values and a regular 
scale above? I don't know how the syntax within the filled.contour 
function shoul be.

BR

Antonio


> This gives a fairly
> good separation between what areas contain data, and what doesn't. To
> make NA's black, I suppose one would have to define your own
> colour.palette, but I haven't looked into it.
>
> Hope this helps, and let me know if you've found a better solution!
>
> Best,
>
> Gustaf Rydevik
>




More information about the R-help mailing list