Wolfgang Korsch wrote: > Hi Rene, > is there an easy way to generate an error band around my data points? > I have a 2d plot ( (y+/-dy) vs x) and I would like to generate > a band around my data points, instead of error bars. I also would > like to 'paint' (fill) the band with a certain color. > Is there some example somewhere? > > Thanks. > > Wolfgang This is possible if your data points have been entered in histograms bins. For example, if you have a TH1F *h object, you can h->Draw("e3"); h->Draw("e4"); You can fill the band with h->SetFillColor(kRed); // or any other color h->Draw("e3"); This facility is not implemented (it should) in TGraph and TGraphErrors. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET