13 c1->Range(0,0,14,15.5);
15 event->SetFillColor(11);
17 event->AddText(
"Event");
27 arrow->SetFillStyle(1001);
28 arrow->SetFillColor(1);
30 arrow->DrawArrow(1.3,3.5,3.9,3.5,0.02,
"|>");
31 arrow->DrawArrow(1.5,5.5,3.9,5.5,0.02,
"|>");
32 arrow->DrawArrow(1.7,7.5,3.9,7.5,0.02,
"|>");
33 arrow->DrawArrow(1.9,9.5,3.9,9.5,0.02,
"|>");
34 arrow->DrawArrow(2.1,11.5,3.9,11.5,0.02,
"|>");
38 p1->AddText(
"1 Mbyte");
43 p2->AddText(
"100 Kbytes");
48 p3->AddText(
"10 Kbytes");
static double p3(double t, double a, double b, double c, double d)
static double p1(double t, double a, double b)
static double p2(double t, double a, double b, double c)
Draw all kinds of Arrows.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
Base class for several text objects.
virtual TText * DrawText(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates.