Fill area beneath curve

Hi,

can anybody please tell me how to fill the area beneath a curve?
I’ve seen ROOT: TAttFill Class Reference but I don’t know how to apply.

At the moment I have:

TGraph *caesium = new TGraph(point_cs, Caesium_ch, Caesium_intensity);
caesium->SetMarkerSize(2);
caesium->SetMarkerColor(kRed);
caesium->SetMarkerStyle(5);
caesium->Draw(“AP”);

Thank you!

1 Like

yeah, this was apparently quite easy… :slightly_smiling_face:
Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.