TLatex is a class in ROOT package library used for drawing text with LaTeX syntax in C++ code. TLatex SetTextSize is a member function used for setting the size of the text in TLatex. The function takes a floating-point value as an argument and sets the size of the text.
Examples:
1. Setting the text size of TLatex to 0.05:
TLatex latex;
latex.SetTextSize(0.05);
2. Setting the text size of TLatex to 0.1:
TLatex latex;
latex.SetTextSize(0.1);
In both examples, we create an instance of the TLatex class and set the text size to the desired value.
Package library: ROOT.
C++ (Cpp) TLatex::SetTextSize - 30 examples found. These are the top rated real world C++ (Cpp) examples of TLatex::SetTextSize extracted from open source projects. You can rate examples to help us improve the quality of examples.