[R] Polygon shaded area
Jose Narillos de Santos
narillosdesantos at gmail.com
Thu Aug 2 14:33:28 CEST 2012
Hi all,
I have two vectors (columns) called "efinal" and "efinal 2".
I want to plot them on the same plot and "draw" a shaded area beween the
two lines using function polygon
I have tried all but I don ´t understand the polygon area, can you help me
with examples?
plot(efinal,type="l",ylim=range(min(efinal2),
max(efinal)),ylab="",main="plot")
par(new=T)
plot(efinal2,type="l",ylim=range(min(efinal2), max(efinal)),ylab="")
The efinal are two temporal series I attach?
More information about the R-help
mailing list