Error band on TGraphErrors

Dear rooters,
I would like to have a shaded error band around my TGraph instead of the error bars. So I used the option “4A*” for drawing. This works fine except for the region between the last but one and the last point. There the interpolation seems to overdo things. I have attached a trivial example showing the effect.
So my question is how to avoid this feature…

Thanx for suggestions,
TestBand.C (346 Bytes)

Use “3A” instead or “4A” . Option “4” is doing smoothing. In case of sharp stairs like in your example, the smoothing algorithm produces this bouncing effect.

Thanks a lot…using “3A” cured the effect!