Public Member Functions | |
def | __init__ (self, x, y, text, size=None, bold=True, align="left", color=ROOT.kBlack, font=None) |
def | Draw (self, options=None) |
Private Attributes | |
_l | |
_text | |
_x | |
_y | |
Abstraction on top of TLatex
Definition at line 1531 of file plotting.py.
def plotting.PlotText.__init__ | ( | self, | |
x, | |||
y, | |||
text, | |||
size = None , |
|||
bold = True , |
|||
align = "left" , |
|||
color = ROOT.kBlack , |
|||
font = None |
|||
) |
Constructor. Arguments: x -- X coordinate of the text (in NDC) y -- Y coordinate of the text (in NDC) text -- String to draw size -- Size of text (None for the default value, taken from gStyle) bold -- Should the text be bold? align -- Alignment of text (left, center, right) color -- Color of the text font -- Specify font explicitly
Definition at line 1533 of file plotting.py.
def plotting.PlotText.Draw | ( | self, | |
options = None |
|||
) |
Draw the text to the current TPad. Arguments: options -- For interface compatibility, ignored Provides interface compatible with ROOT's drawable objects.
Definition at line 1571 of file plotting.py.
References plotting.PlotText._l, plotting.PlotText._text, PGeometricDet::Item._x, SpecificationBuilder_cfi.Specification._x, hitfit::Fourvec_Event._x, plotting.PlotText._x, PGeometricDet::Item._y, contrib::CMSBoostedTauSeedingAlgorithmStructure._y, SpecificationBuilder_cfi.Specification._y, and plotting.PlotText._y.
|
private |
Definition at line 1550 of file plotting.py.
Referenced by plotting.PlotText.Draw().
|
private |
Definition at line 1548 of file plotting.py.
Referenced by plotting.PlotText.Draw().
|
private |
Definition at line 1546 of file plotting.py.
Referenced by plotting.PlotText.Draw().
|
private |
Definition at line 1547 of file plotting.py.
Referenced by plotting.PlotText.Draw().