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
>

______________________________________________
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.

Reply via email to