Logo ROOT   6.14/05
Reference Guide
Functions | Variables
textangle.C File Reference

Functions

tt Draw ()
 
a DrawArc (0.1, 0.1, 0.2, 0., 45.,"only")
 
l DrawLine (0.1, 0.1, 0.9, 0.1)
 
m DrawMarker (0.1, 0.1)
 
Ta Range (0, 0, 1, 1)
 
a SetFillStyle (0)
 
l SetLineColor (kRed)
 
a SetLineColor (kBlue)
 
a SetLineStyle (3)
 
m SetMarkerColor (kBlue)
 
m SetMarkerStyle (20)
 
tt SetTextAlign (11)
 
tt SetTextAngle (45)
 
tt SetTextSize (0.1)
 

Variables

auto * a = new TArc()
 
auto * l = new TLine()
 
auto * m = new TMarker()
 
auto * t1 = new TLatex(0.3,0.18,"45^{o}")
 
auto * tt = new TText(0.1,0.1,"Text angle is 45 degrees")
 

Function Documentation

◆ Draw()

tt Draw ( )

◆ DrawArc()

a DrawArc ( 0.  1,
0.  1,
0.  2,
0.  ,
45.  ,
"only"   
)

◆ DrawLine()

l DrawLine ( 0.  1,
0.  1,
0.  9,
0.  1 
)

◆ DrawMarker()

m DrawMarker ( 0.  1,
0.  1 
)

◆ Range()

Ta Range ( ,
,
,
 
)

◆ SetFillStyle()

a SetFillStyle ( )

◆ SetLineColor() [1/2]

l SetLineColor ( kRed  )

◆ SetLineColor() [2/2]

a SetLineColor ( kBlue  )

◆ SetLineStyle()

a SetLineStyle ( )

◆ SetMarkerColor()

m SetMarkerColor ( kBlue  )

◆ SetMarkerStyle()

m SetMarkerStyle ( 20  )

◆ SetTextAlign()

tt SetTextAlign ( 11  )

◆ SetTextAngle()

tt SetTextAngle ( 45  )

◆ SetTextSize()

tt SetTextSize ( 0.  1)

Variable Documentation

◆ a

auto* a = new TArc()

Definition at line 12 of file textangle.C.

◆ l

auto* l = new TLine()

Definition at line 4 of file textangle.C.

◆ m

auto* m = new TMarker()

Definition at line 8 of file textangle.C.

◆ t1

auto* t1 = new TLatex(0.3,0.18,"45^{o}")

Definition at line 20 of file textangle.C.

◆ tt

auto* tt = new TText(0.1,0.1,"Text angle is 45 degrees")

Definition at line 16 of file textangle.C.