jim at bitwrit.com.au
Tue Dec 13 12:12:45 CET 2011
> Hi everybody,
> I have a matrix with 3 columns (Date, MeanArea and SdArea). I want to
> draw a figure showing the variable MeanArea in terms of the Date. But
> instead to use the variable SdArea as bar error, I want to use “polygon
> error”. I use this code but the output does not seem good.
> y <-MeanArea
> x <-SdArea
> z <-Date
> Thank you in advance
I think you want a dispersion band around y (Mean Area). Without the
data I really can't tell, but the dispersion function in the plotrix
package using type="l" and fill=<some color> may do what you want.
More information about the R-help