[R] Transparent Bands in R
pavan.namd at gmail.com
Wed Oct 21 17:59:31 CEST 2009
Hello Megha and Jim,
Thanks for your comments. The green bands actually correspond to data that
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:
Jim Lemon-2 wrote:
> On 10/21/2009 09:40 AM, mnstn wrote:
>> Hello All,
>>> My question is regarding the attached plot. I would like to have
>>> transparent green bands running the length (yaxis) of the plot the width
>>> which is determined by the green lines at y=0 in the plot. Can you
>>> suggest a
>>> way to do it?
> Hi mnstn,
> Transparency is only supported by some graphic devices. It may be
> simpler to plot the values, use "rect" to draw green rectangles:
> then redraw the lines over the rectangles using "lines".
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/Transparent-Bands-in-R-tp25983169p25995374.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help