Re: [R] filled.contour and NA's

2006-12-11 Thread hadley wickham
I'm trying to do a filled.contour plot where some points are labelled as NA. How do I could plot this kind of graphics, so NA points are coloured black, keeping the levels of remaining points. NA's values represent land points (meaningless), and what I want to plot is the levels of a

Re: [R] filled.contour and NA's

2006-12-10 Thread Gustaf Rydevik
On 12/8/06, antonio rodriguez [EMAIL PROTECTED] wrote: 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

Re: [R] filled.contour and NA's

2006-12-08 Thread Gustaf Rydevik
On 11/29/06, antonio rodriguez [EMAIL PROTECTED] wrote: Hi, I'm trying to do a filled.contour plot where some points are labelled as NA. How do I could plot this kind of graphics, so NA points are coloured black, keeping the levels of remaining points. NA's values represent land points

Re: [R] filled.contour and NA's

2006-12-08 Thread antonio rodriguez
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

[R] filled.contour and NA's

2006-11-29 Thread antonio rodriguez
Hi, I'm trying to do a filled.contour plot where some points are labelled as NA. How do I could plot this kind of graphics, so NA points are coloured black, keeping the levels of remaining points. NA's values represent land points (meaningless), and what I want to plot is the levels of a

[R] filled.contour help

2005-08-08 Thread m p
Hello, I plot with filled.contour and have this problem. There is an area that I want to cover with angled shading lines to represent NA in my data. Very much appreciate help. Thanks, Mark pal - palette(gray(seq(1.,0.,len=8))) filled.contour(fvec,qvec,etsarray,

[R] filled.contour - color palette so z=0 ONLY is blue

2004-06-07 Thread Laura Quinn
I am trying to create a topographic map of an island - the filled.contour function works fine except i am experiencing difficulty trying to represent the sea properly. Basically I want the default colour blue for any instance where z=0, if I simply use the default topo.color I get shades of blue

Re: [R] filled.contour - color palette so z=0 ONLY is blue

2004-06-07 Thread Peter Dalgaard
Laura Quinn [EMAIL PROTECTED] writes: I am trying to create a topographic map of an island - the filled.contour function works fine except i am experiencing difficulty trying to represent the sea properly. Basically I want the default colour blue for any instance where z=0, if I simply use

Re: [R] filled.contour

2004-04-18 Thread Paul Murrell
Hi jzhang10 wrote: Hi, I want to draw a level plot. The levels are not evenly spaced, so I did something like: levels=c(0,2,5,10,30,60). I still want the color bar (key) on the right side to be evenly spaced so that the small numbers (0,2,5) are not squeezed together. Does anyone know how to

[R] filled.contour

2004-04-15 Thread jzhang10
Hi, I want to draw a level plot. The levels are not evenly spaced, so I did something like: levels=c(0,2,5,10,30,60). I still want the color bar (key) on the right side to be evenly spaced so that the small numbers (0,2,5) are not squeezed together. Does anyone know how to do it? Thanks!

[R] filled.contour without box

2003-09-23 Thread Jan Kleinn
Dear all, I would like to make a filled contour plot without the box R is generating by default around the plotting area, i.e. I'm looking for an option in filled.contour similar to 'axes=F' in 'contour' or in 'plot'. I couldn't find any option to get rid of the box, any help is welcome.

Re: [R] filled.contour without box

2003-09-23 Thread Uwe Ligges
Jan Kleinn wrote: Dear all, I would like to make a filled contour plot without the box R is generating by default around the plotting area, i.e. I'm looking for an option in filled.contour similar to 'axes=F' in 'contour' or in 'plot'. I couldn't find any option to get rid of the box, any

Re: [R] filled.contour without box

2003-09-23 Thread Roger D. Peng
If you just want to get rid of the axes, you can do filled.contour(x, plot.axes = { }) -roger Uwe Ligges wrote: Jan Kleinn wrote: Dear all, I would like to make a filled contour plot without the box R is generating by default around the plotting area, i.e. I'm looking for an option in

Re: [R] filled.contour without box

2003-09-23 Thread Martin Maechler
UweL == Uwe Ligges [EMAIL PROTECTED] on Tue, 23 Sep 2003 11:30:02 +0200 writes: UweL Jan Kleinn wrote: Dear all, I would like to make a filled contour plot without the box R is generating by default around the plotting area, i.e. I'm looking for an option in