Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
polyline.C
Go to the documentation of this file.
1{
2 Double_t x[5] = {.2,.7,.6,.25,.2};
3 Double_t y[5] = {.5,.1,.9,.7,.5};
8 pline->Draw("f");
10}
double Double_t
Definition RtypesCore.h:59
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Definition TAttFill.h:37
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
Definition TAttLine.h:43
virtual void SetLineColor(Color_t lcolor)
Set the line color.
Definition TAttLine.h:40
Defined by an array on N points in a 2-D space.
Definition TPolyLine.h:23
void Draw(Option_t *option="") override
Draw this polyline with its current attributes.
Double_t x[n]
Definition legend1.C:17
TPolyLine * pline
Definition polyline.C:4
Double_t y[5]
Definition polyline.C:3