11void gr101_shade_area() {
15 c1->DrawFrame(0,0,2.2,12);
24 y[i] = 9*
sin(
x[i]+0.15);
40 gr->SetMarkerColor(4);
41 gr->SetMarkerStyle(21);
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
A TGraph is an object made of two arrays X and Y with npoints each.
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Set x and y values for point number i.
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
RVec< PromoteType< T > > sin(const RVec< T > &v)