Logo ROOT   6.16/01
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)
 
a SetLineColor (kBlue)
 
l SetLineColor (kRed)
 
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]

a SetLineColor ( kBlue  )

◆ SetLineColor() [2/2]

l SetLineColor ( kRed  )

◆ 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.