Re: [R] Transparent Bands in R

2009-10-21 Thread mnstn
Hello Megha and Jim, Thanks for your comments. The green bands actually correspond to data that looks like: 13 0 42 0 183 0 186 0 187 0 192 0 194 0 and so on. I plotted them using: plot(v[,1],3+v[,2],type="h",col="gray",lwd=5) and the rest of the data using points. The result is here: http://www.t

Re: [R] Transparent Bands in R

2009-10-21 Thread Jim Lemon
On 10/21/2009 09:40 AM, mnstn wrote: Hello All, My question is regarding the attached plot. I would like to have multiple transparent green bands running the length (yaxis) of the plot the width of which is determined by the green lines at y=0 in the plot. Can you suggest a way to do it?

Re: [R] Transparent Bands in R

2009-10-20 Thread Megha Patnaik
Hi, Maybe use polygon() ? Good luck, Megha. 2009/10/20 mnstn : > > Hello All, > > My question is regarding the attached plot. I would like to have multiple > transparent green bands running the length (yaxis) of the plot the width of > which is determined by the green lines at y=0 in the plot. C

[R] Transparent Bands in R

2009-10-20 Thread mnstn
Hello All, My question is regarding the attached plot. I would like to have multiple transparent green bands running the length (yaxis) of the plot the width of which is determined by the green lines at y=0 in the plot. Can you suggest a way to do it? For those who can't or are unwilling to down