ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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};
4
TPolyLine *pline =
new
TPolyLine(5,x,y);
5
pline->SetFillColor(38);
6
pline->SetLineColor(2);
7
pline->SetLineWidth(4);
8
pline->Draw(
"f"
);
9
pline->Draw();
10
}
graf2d
graf
doc
macros
polyline.C
Generated on Tue May 5 2020 14:02:32 for ROOT by
1.8.5