211      gROOT->GetListOfStyles()->Add(
this);
 
 
  481   gROOT->GetListOfStyles()->Remove(
this);
 
 
  490   style.TStyle::Copy(*
this);
 
 
  499      style.TStyle::Copy(*
this);
 
 
  509   a -= (
a >= 
'x') ? 
'x' : 
'X'; 
 
  510   return (
a > 2) ? 0 : (
Int_t)(
a+1);
 
 
  527   new TStyle(
"Plain",  
"Plain Style (no colors/fill areas)");
 
  528   new TStyle(
"Bold",   
"Bold Style");
 
  529   new TStyle(
"Video",  
"Style for video presentation histograms");
 
  530   new TStyle(
"Pub",    
"Style for Publications");
 
  531   new TStyle(
"Classic",
"Classic Style");
 
  532   new TStyle(
"Default",
"Equivalent to Classic");
 
  533   new TStyle(
"Modern", 
"Modern Style");
 
  534   new TStyle(
"ATLAS",  
"ATLAS Style");
 
  535   new TStyle(
"BELLE2", 
"Belle II Style");
 
 
  656   for (
Int_t i=0;i<30;i++)
 
 
  688   gPad->SetSelected(
this);
 
 
 1489   char *
st = 
new char[
nch+10];
 
 
 1503   if (number > 0 && number < 1000) {
 
 1508   Error(
"SetNumberContours",
"Illegal number of contours: %d, must be > 0 and < 1000",number);
 
 
 1598      TIter next(
gPad->GetListOfPrimitives());
 
 1599      while (
auto obj = next()) {
 
 
 1645      TIter next(
gPad->GetListOfPrimitives());
 
 1646      while (
auto obj = next()) {
 
 
 1715         Error(
"SetPaperSize", 
"illegal paper size %d\n", (
int)
size);
 
 
 1973      Error(
"SetCandleCircleLineWidth", 
"illegal line width %d. It must be in the range [1,5]\n", (
int)
CircleLineWidth);
 
 
 1986      Error(
"SetCandleCrossLineWidth", 
"illegal line width %d. It must be in the range [1,5]\n", (
int)
CrossLineWidth);
 
 
 2004   auto pos = 
fname.First(
'.');
 
 2014   out.open(
ff.Data(), std::ios::out);
 
 2016      Error(
"SaveSource", 
"cannot open file: %s", 
ff.Data());
 
 2021   out << 
"// Macro generated from application: " << 
gApplication->
Argv(0) << 
"\n";
 
 2025   out << 
"#include \"TStyle.h\"\n\n";
 
 2028   out << 
"void " << 
sname << 
"()\n";
 
 
 2044   auto asBool = [](
bool flag) { 
return flag ? 
"kTRUE" : 
"kFALSE"; };
 
 2046   out << 
"   // Add the saved style to the current ROOT session.\n";
 
 2048   out << 
"   delete gROOT->GetStyle(\"" << 
GetName() << 
"\");\n";
 
 2051      out, 
Class(), 
"tmpStyle",
 
 2054   const char *prefix = 
"   tmpStyle->";
 
 2057   out << prefix << 
"SetNdivisions(" << 
GetNdivisions(
"x") << 
", \"x\");\n";
 
 2058   out << prefix << 
"SetNdivisions(" << 
GetNdivisions(
"y") << 
", \"y\");\n";
 
 2059   out << prefix << 
"SetNdivisions(" << 
GetNdivisions(
"z") << 
", \"z\");\n";
 
 2066   out << prefix << 
"SetLabelFont(" << 
GetLabelFont(
"x") << 
", \"x\");\n";
 
 2067   out << prefix << 
"SetLabelFont(" << 
GetLabelFont(
"y") << 
", \"y\");\n";
 
 2068   out << prefix << 
"SetLabelFont(" << 
GetLabelFont(
"z") << 
", \"z\");\n";
 
 2069   out << prefix << 
"SetLabelOffset(" << 
GetLabelOffset(
"x") << 
", \"x\");\n";
 
 2070   out << prefix << 
"SetLabelOffset(" << 
GetLabelOffset(
"y") << 
", \"y\");\n";
 
 2071   out << prefix << 
"SetLabelOffset(" << 
GetLabelOffset(
"z") << 
", \"z\");\n";
 
 2072   out << prefix << 
"SetLabelSize(" << 
GetLabelSize(
"x") << 
", \"x\");\n";
 
 2073   out << prefix << 
"SetLabelSize(" << 
GetLabelSize(
"y") << 
", \"y\");\n";
 
 2074   out << prefix << 
"SetLabelSize(" << 
GetLabelSize(
"z") << 
", \"z\");\n";
 
 2075   out << prefix << 
"SetTickLength(" << 
GetTickLength(
"x") << 
", \"x\");\n";
 
 2076   out << prefix << 
"SetTickLength(" << 
GetTickLength(
"y") << 
", \"y\");\n";
 
 2077   out << prefix << 
"SetTickLength(" << 
GetTickLength(
"z") << 
", \"z\");\n";
 
 2078   out << prefix << 
"SetTitleOffset(" << 
GetTitleOffset(
"x") << 
", \"x\");\n";
 
 2079   out << prefix << 
"SetTitleOffset(" << 
GetTitleOffset(
"y") << 
", \"y\");\n";
 
 2080   out << prefix << 
"SetTitleOffset(" << 
GetTitleOffset(
"z") << 
", \"z\");\n";
 
 2081   out << prefix << 
"SetTitleSize(" << 
GetTitleSize(
"x") << 
", \"x\");\n";
 
 2082   out << prefix << 
"SetTitleSize(" << 
GetTitleSize(
"y") << 
", \"y\");\n";
 
 2083   out << prefix << 
"SetTitleSize(" << 
GetTitleSize(
"z") << 
", \"z\");\n";
 
 2087   out << prefix << 
"SetTitleFont(" << 
GetTitleFont(
"x") << 
", \"x\");\n";
 
 2088   out << prefix << 
"SetTitleFont(" << 
GetTitleFont(
"y") << 
", \"y\");\n";
 
 2089   out << prefix << 
"SetTitleFont(" << 
GetTitleFont(
"z") << 
", \"z\");\n";
 
 2095   out << prefix << 
"SetBarWidth(" << 
GetBarWidth() << 
");\n";
 
 2096   out << prefix << 
"SetBarOffset(" << 
GetBarOffset() << 
");\n";
 
 2097   out << prefix << 
"SetDrawBorder(" << 
GetDrawBorder() << 
");\n";
 
 2098   out << prefix << 
"SetOptLogx(" << 
GetOptLogx() << 
");\n";
 
 2099   out << prefix << 
"SetOptLogy(" << 
GetOptLogy() << 
");\n";
 
 2100   out << prefix << 
"SetOptLogz(" << 
GetOptLogz() << 
");\n";
 
 2101   out << prefix << 
"SetOptDate(" << 
GetOptDate() << 
");\n";
 
 2102   out << prefix << 
"SetOptStat(" << 
GetOptStat() << 
");\n";
 
 2103   out << prefix << 
"SetOptTitle(" << 
GetOptTitle() << 
");\n";
 
 2104   out << prefix << 
"SetOptFit(" << 
GetOptFit() << 
");\n";
 
 2114   out << prefix << 
"SetDateX(" << 
GetDateX() << 
");\n";
 
 2115   out << prefix << 
"SetDateY(" << 
GetDateY() << 
");\n";
 
 2117   out << prefix << 
"SetErrorX(" << 
GetErrorX() << 
");\n";
 
 2119   out << prefix << 
"SetFuncStyle(" << 
GetFuncStyle() << 
");\n";
 
 2120   out << prefix << 
"SetFuncWidth(" << 
GetFuncWidth() << 
");\n";
 
 2122   out << prefix << 
"SetGridStyle(" << 
GetGridStyle() << 
");\n";
 
 2123   out << prefix << 
"SetGridWidth(" << 
GetGridWidth() << 
");\n";
 
 2127   out << prefix << 
"SetLegendFont(" << 
GetLegendFont() << 
");\n";
 
 2148   out << prefix << 
"SetCanvasDefH(" << 
GetCanvasDefH() << 
");\n";
 
 2149   out << prefix << 
"SetCanvasDefW(" << 
GetCanvasDefW() << 
");\n";
 
 2150   out << prefix << 
"SetCanvasDefX(" << 
GetCanvasDefX() << 
");\n";
 
 2151   out << prefix << 
"SetCanvasDefY(" << 
GetCanvasDefY() << 
");\n";
 
 2161   out << prefix << 
"SetPadTickX(" << 
GetPadTickX() << 
");\n";
 
 2162   out << prefix << 
"SetPadTickY(" << 
GetPadTickY() << 
");\n";
 
 2177   out << prefix << 
"SetStatFont(" << 
GetStatFont() << 
");\n";
 
 2179   out << prefix << 
"SetStatStyle(" << 
GetStatStyle() << 
");\n";
 
 2180   out << prefix << 
"SetStatFormat(\"" << 
GetStatFormat() << 
"\");\n";
 
 2181   out << prefix << 
"SetStatX(" << 
GetStatX() << 
");\n";
 
 2182   out << prefix << 
"SetStatY(" << 
GetStatY() << 
");\n";
 
 2183   out << prefix << 
"SetStatW(" << 
GetStatW() << 
");\n";
 
 2184   out << prefix << 
"SetStatH(" << 
GetStatH() << 
");\n";
 
 2186   out << prefix << 
"SetTitleAlign(" << 
GetTitleAlign() << 
");\n";
 
 2190   out << prefix << 
"SetTitleFont(" << 
GetTitleFont() << 
");\n";
 
 2192   out << prefix << 
"SetTitleStyle(" << 
GetTitleStyle() << 
");\n";
 
 2193   out << prefix << 
"SetTitleX(" << 
GetTitleX() << 
");\n";
 
 2194   out << prefix << 
"SetTitleY(" << 
GetTitleY() << 
");\n";
 
 2195   out << prefix << 
"SetTitleW(" << 
GetTitleW() << 
");\n";
 
 2196   out << prefix << 
"SetTitleH(" << 
GetTitleH() << 
");\n";
 
 2197   out << prefix << 
"SetLegoInnerR(" << 
GetLegoInnerR() << 
");\n";
 
 2218   out << prefix << 
"SetLineScalePS(" << 
GetLineScalePS() << 
");\n";
 
 2219   out << prefix << 
"SetJoinLinePS(" << 
GetJoinLinePS() << 
");\n";
 
 2220   out << prefix << 
"SetCapLinePS(" << 
GetCapLinePS() << 
");\n";
 
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
short Style_t
Style number (short)
 
int Int_t
Signed integer 4 bytes (int)
 
short Color_t
Color number (short)
 
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
 
float Float_t
Float 4 bytes (float)
 
constexpr Ssiz_t kNPOS
The equivalent of std::string::npos for the ROOT class TString.
 
const char Option_t
Option string (const char)
 
R__EXTERN TApplication * gApplication
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t SetLineWidth
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
 
Option_t Option_t SetFillStyle
 
Option_t Option_t SetTextSize
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
 
Option_t Option_t SetTextFont
 
Option_t Option_t TPoint TPoint const char mode
 
Option_t Option_t SetFillColor
 
Option_t Option_t SetMarkerStyle
 
Option_t Option_t TPoint TPoint const char text
 
R__EXTERN TVirtualMutex * gROOTMutex
 
R__EXTERN TStyle * gStyle
 
R__EXTERN TSystem * gSystem
 
#define R__LOCKGUARD(mutex)
 
virtual Color_t GetTitleColor() const
 
virtual Color_t GetLabelColor() const
 
virtual Int_t GetNdivisions() const
 
virtual Color_t GetAxisColor() const
 
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
 
virtual Style_t GetTitleFont() const
 
virtual Float_t GetLabelOffset() const
 
virtual void SetAxisColor(Color_t color=1, Float_t alpha=1.)
Set color of the line axis and tick marks.
 
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
 
virtual Style_t GetLabelFont() const
 
virtual void SetTitleFont(Style_t font=62)
Set the title font.
 
virtual void SetLabelOffset(Float_t offset=0.005)
Set distance between the axis and the labels.
 
virtual void SetLabelFont(Style_t font=62)
Set labels' font.
 
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title.
 
virtual void SetTitleColor(Color_t color=1)
Set color of axis title.
 
virtual Float_t GetTitleSize() const
 
virtual Float_t GetLabelSize() const
 
virtual Float_t GetTickLength() const
 
virtual void ResetAttAxis(Option_t *option="")
Reset axis attributes.
 
virtual Float_t GetTitleOffset() const
 
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length.
 
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
 
void Copy(TAttAxis &attaxis) const
Copy of the object.
 
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
 
Fill Area Attributes class.
 
void Copy(TAttFill &attfill) const
Copy this fill attributes to a new TAttFill.
 
virtual void ResetAttFill(Option_t *option="")
Reset this fill attributes to default values.
 
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
 
virtual void ResetAttLine(Option_t *option="")
Reset this line attributes to default values.
 
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
 
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
 
virtual void SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
Save line attributes as C++ statement(s) on output stream out.
 
virtual void ResetAttMarker(Option_t *toption="")
Reset this marker attributes to the default values.
 
void Copy(TAttMarker &attmarker) const
Copy this marker attributes to a new TAttMarker.
 
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
 
virtual Float_t GetTextSize() const
Return the text size.
 
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
 
virtual Short_t GetTextAlign() const
Return the text alignment.
 
virtual Font_t GetTextFont() const
Return the text font.
 
virtual Color_t GetTextColor() const
Return the text color.
 
virtual Float_t GetTextAngle() const
Return the text angle.
 
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
Save text attributes as C++ statement(s) on output stream out.
 
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
 
void Copy(TAttText &atttext) const
Copy this text attributes to a new TAttText.
 
virtual void ResetAttText(Option_t *toption="")
Reset this text attributes to default values.
 
Using a TBrowser one can browse all ROOT objects.
 
The color creation and management class.
 
static void SetPalette(Int_t ncolors, Int_t *colors, Float_t alpha=1.)
Static function.
 
static Int_t GetColorPalette(Int_t i)
Static function returning the color number i in current palette.
 
static void SaveColorsPalette(std::ostream &out)
Store current palette in the output macro.
 
static Int_t CreateColorTableFromFile(TString fileName, Float_t alpha=1.)
Static function creating a color palette based on an input text file.
 
static TString SavePrimitiveColor(Int_t ci)
Convert color in C++ statement which can be used in SetColor directives Produced statement either inc...
 
static Int_t GetNumberOfColors()
Static function returning number of colors in the color palette.
 
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
 
const char * AsSQLString() const
Return the date & time in SQL compatible string format, like: 1997-01-15 20:16:28.
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
The TNamed class is the base class for all named ROOT classes.
 
const char * GetName() const override
Returns name of object.
 
const char * GetTitle() const override
Returns title of object.
 
virtual void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
 
Mother of all ROOT objects.
 
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
 
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
static void SavePrimitiveConstructor(std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
Save object constructor in the output stream "out".
 
void ToLower()
Change string to lower-case.
 
TString & ReplaceSpecialCppChars()
Find special characters which are typically used in printf() calls and replace them by appropriate es...
 
const char * Data() const
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
TStyle objects may be created to define special styles.
 
Bool_t GetViolinScaled() const
 
Double_t GetTimeOffset() const
 
Int_t GetAxisMaxDigits() const
Method returns maximum number of digits permitted for the axis labels above which the notation with 1...
 
Color_t GetGridColor() const
 
Int_t fOptFile
True if option File is selected.
 
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
 
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
 
void SetPadBorderMode(Int_t mode=1)
 
void SetOptTitle(Int_t tit=1)
 
Color_t fGridColor
Grid line color (if 0 use axis line color)
 
void SetPadTopMargin(Float_t margin=0.1)
 
Color_t GetStatTextColor() const
 
void SetLegendFont(Style_t font=62)
 
void SetTitleX(Float_t x=0)
 
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
 
Int_t fCanvasDefW
Default canvas width.
 
Int_t fHatchesLineWidth
Hatches line width for hatch styles > 3100.
 
Float_t fScreenFactor
Multiplication factor for canvas size and position.
 
Float_t fYAxisExpXOffset
Y axis exponent label X offset.
 
Float_t fTitleFontSize
Font size in pixels for fonts with precision type 3.
 
void SetDateX(Float_t x=0.01)
 
Int_t fCanvasDefX
Default canvas top X position.
 
void SetStatFormat(const char *format="6.4g")
 
void SetPadBottomMargin(Float_t margin=0.1)
 
Float_t GetTitleX() const
 
Bool_t fViolinScaled
Violin plot, shall the violin or histos be scaled to each other by the maximum height?
 
void SetLegendFillColor(Color_t color=0)
 
Float_t fPadRightMargin
Pad right margin.
 
Float_t fPaperSizeX
PostScript paper size along X.
 
void SetCandleCrossLineWidth(Int_t CrossLineWidth=1)
Set the line width of the cross marker of a candle plot ([1,5]).
 
void SetPaintTextFormat(const char *format="g")
 
Int_t GetOptTitle() const
 
Float_t GetScreenFactor() const
 
TString fPaintTextFormat
Printing format for TH2::PaintText.
 
Color_t GetHistLineColor() const
 
Color_t fStatColor
Stat fill area color.
 
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
 
void SetFrameFillColor(Color_t color=1)
 
Int_t fFrameBorderMode
Pad frame border mode.
 
Int_t GetPadTickX() const
 
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
 
Style_t fHistLineStyle
Histogram line style.
 
Color_t GetFrameLineColor() const
 
Style_t GetGridStyle() const
 
Int_t GetJoinLinePS() const
Returns the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin fo...
 
Style_t fLegendFillStyle
Legend fill style.
 
void SetStatFont(Style_t font=62)
 
void SetEndErrorSize(Float_t np=2)
Set the size (in pixels) of the small lines drawn at the end of the error bars (TH1 or TGraphErrors).
 
Float_t GetStatFontSize() const
 
Float_t GetBarOffset() const
 
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
 
void SetCapLinePS(Int_t capline=0)
Set the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for deta...
 
Color_t GetPadColor() const
 
Float_t fBarOffset
Offset of bar for graphs.
 
Bool_t GetCandleScaled() const
 
void SetPadRightMargin(Float_t margin=0.1)
 
Style_t GetHistFillStyle() const
 
void SetCanvasColor(Color_t color=19)
 
TAttAxis fZaxis
Z axis attributes.
 
void SetTitleFont(Style_t font=62, Option_t *axis="X")
 
Float_t GetPadRightMargin() const
 
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
 
void SetExponentOffset(Float_t xoff=0., Float_t yoff=0., Option_t *axis="XY")
Method set X and Y offset of the axis 10^n notation.
 
Int_t fDrawBorder
Flag to draw border(=1) or not (0)
 
void SetTitleBorderSize(Width_t size=2)
 
void SaveSource(const char *filename, Option_t *option=nullptr)
Save the current style in a C++ macro file.
 
Double_t GetCandleWhiskerRange() const
 
Style_t GetFrameFillStyle() const
 
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
 
Float_t GetLegoInnerR() const
 
Int_t AxisChoice(Option_t *axis) const
 
TString fTitlePS
User defined Postscript file title.
 
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
 
virtual ~TStyle()
Destructor.
 
void SetCanvasBorderMode(Int_t mode=1)
 
Float_t GetTitleY() const
 
Style_t fFuncStyle
Function style.
 
void SetOptDate(Int_t datefl=1)
If optdate is non null, the current date/time will be printed in the canvas.
 
Int_t fPadTickX
True to set special pad ticks along X.
 
Style_t fStatFont
Font style of Stats PaveLabel.
 
TString fLineStyle[30]
String describing line style i (for postScript)
 
void SetDateY(Float_t y=0.01)
 
Width_t fGridWidth
Grid line width.
 
Double_t fCandleBoxRange
Candle plot, The fraction which is covered by the box (0 < x < 1), default 0.5.
 
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
 
Color_t GetHistFillColor() const
 
void SetFrameBorderMode(Int_t mode=1)
 
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
 
Int_t fOptLogx
True if log scale in X.
 
Bool_t fStripDecimals
Strip decimals in axis labels.
 
Bool_t fHistMinimumZero
True if default minimum is 0, false if minimum is automatic.
 
Style_t fLegendFont
Legend font style.
 
void SetFuncColor(Color_t color=1)
 
Bool_t GetHistMinimumZero() const
 
TAttAxis fXaxis
X axis attributes.
 
void SetHeaderPS(const char *header)
Define a string to be inserted in the Postscript header.
 
Color_t fTitleColor
Title fill area color.
 
Int_t fJoinLinePS
Determines the appearance of joining lines on PostScript, PDF and SVG.
 
void SetPadTickY(Int_t ticky)
 
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Specify a parameter offset to control the distance between the axis and the axis title.
 
Width_t fFrameLineWidth
Pad frame line width.
 
Color_t GetTitleFillColor() const
 
Int_t GetCanvasDefH() const
 
void SetColorModelPS(Int_t c=0)
Define the color model used by TPostScript and TPDF (RGB or CMYK).
 
Style_t GetTitleStyle() const
 
void SetPadTickX(Int_t tickx)
 
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
 
Int_t GetCanvasDefX() const
 
Int_t fOptTitle
True if option Title is selected.
 
Style_t fTitleFont
Font style of Title PaveLabel.
 
Bool_t GetPadGridY() const
 
Int_t fOptDate
True if date option is selected.
 
Float_t fPadTopMargin
Pad top margin.
 
Color_t GetStatColor() const
 
Width_t fCanvasBorderSize
Canvas border size.
 
void SetTitleTextColor(Color_t color=1)
 
void SetAxisMaxDigits(Int_t maxd=5)
Method set maximum number of digits permitted for the axis labels above which the notation with 10^N ...
 
Color_t fCanvasColor
Canvas color.
 
Float_t GetPadLeftMargin() const
 
Int_t fCandleCrossLineWidth
Line width of the cross marker of a candle plot ([1,5]).
 
Double_t GetHatchesSpacing() const
 
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.
 
Float_t fStatY
Y position of top right corner of stat box.
 
void Copy(TObject &style) const override
Copy this style.
 
Width_t GetLegendBorderSize() const
 
Style_t fFrameLineStyle
Pad frame line style.
 
void SetStatBorderSize(Width_t size=2)
 
Float_t GetBarWidth() const
 
Int_t fCanvasBorderMode
Canvas border mode.
 
Bool_t GetCanvasPreferGL() const
 
Int_t GetColorModelPS() const
 
void SetErrorX(Float_t errorx=0.5)
 
Int_t GetCanvasDefY() const
 
void SetTitleColor(Color_t color=1, Option_t *axis="X")
 
void SetNumberContours(Int_t number=20)
Set the default number of contour levels when drawing 2-d plots.
 
void Paint(Option_t *option="") override
Copy this style to gStyle.
 
Float_t fTitleX
X position of top left corner of title box.
 
Int_t fShowToolBar
Show toolbar.
 
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
 
Int_t fCapLinePS
Determines the appearance of line caps on PostScript, PDF and SVG.
 
Width_t fFuncWidth
Function line width.
 
Int_t fPadTickY
True to set special pad ticks along Y.
 
TAttAxis fYaxis
Y axis attributes.
 
Float_t fImageScaling
Image scaling to produce high definition bitmap images.
 
Double_t fCandleWhiskerRange
Candle plot, the fraction which is covered by the whiskers (0 < x < 1), default 1.
 
Width_t GetFrameBorderSize() const
 
Width_t fHistLineWidth
Histogram line width.
 
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
 
Bool_t fPadGridY
True to get the grid along Y.
 
void SetTitlePS(const char *pstitle)
Define a string to be used in the %Title of the Postscript files.
 
Style_t fHistFillStyle
Histogram fill style.
 
void SetHistMinimumZero(Bool_t zero=kTRUE)
If the argument zero=kTRUE the minimum value for the Y axis of 1-d histograms is set to 0.
 
Bool_t GetPadGridX() const
 
void SetPadLeftMargin(Float_t margin=0.1)
 
Float_t fEndErrorSize
Size of lines at the end of error bars.
 
void SetJoinLinePS(Int_t joinline=0)
Set the line join method used for PostScript, PDF and SVG output. See TPostScript::SetLineJoin for de...
 
Bool_t fIsReading
! Set to FALSE when userclass::UseCurrentStyle is called by the style manager
 
Width_t GetGridWidth() const
 
Width_t fFrameBorderSize
Pad frame border size.
 
Color_t GetFuncColor() const
 
void SetTitleXOffset(Float_t offset=1)
 
void SetLegendBorderSize(Width_t size=4)
 
Color_t fTitleTextColor
Title text color.
 
Int_t GetPadTickY() const
 
Width_t GetPadBorderSize() const
 
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
 
Width_t GetTitleBorderSize() const
 
void SetHistLineColor(Color_t color=1)
 
TString fHeaderPS
User defined additional Postscript header.
 
Int_t GetColorPalette(Int_t i) const
Return color number i in current palette.
 
virtual void cd()
Change current style.
 
const char * GetLineStyleString(Int_t i=1) const
Return line style string (used by PostScript).
 
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
 
Color_t fPadColor
Pad color.
 
void SetFitFormat(const char *format="5.4g")
 
Float_t GetErrorX() const
 
Float_t fDateX
X position of the date in the canvas (in NDC)
 
Int_t fOptLogz
True if log scale in z.
 
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
 
void SetTitleFillColor(Color_t color=1)
 
TString fFitFormat
Printing format for fit parameters.
 
Int_t fPadBorderMode
Pad border mode.
 
Double_t GetLegendTextSize() const
 
Int_t fNumberContours
Default number of contours for 2-d plots.
 
void SetLineStyleString(Int_t i, const char *text)
Set line style string using the PostScript convention.
 
Double_t GetCandleBoxRange() const
 
Float_t fPadLeftMargin
Pad left margin.
 
Float_t fTitleY
Y position of top left corner of title box.
 
Double_t fTimeOffset
Time offset to the beginning of an axis.
 
Color_t GetCanvasColor() const
 
Color_t fFrameLineColor
Pad frame line color.
 
Double_t fLegendTextSize
Legend text size. If 0 the size is computed automatically.
 
Int_t fShowEditor
Show pad editor.
 
Color_t fLegendFillColor
Legend fill color.
 
void SetTitleAlign(Int_t a=13)
 
Float_t fLineScalePS
Line scale factor when drawing lines on Postscript.
 
void SetPaperSize(EPaperSize size)
Set paper size for PostScript output.
 
Float_t GetEndErrorSize() const
 
Float_t GetPadBottomMargin() const
 
void SetFrameLineWidth(Width_t width=1)
 
void SetTickLength(Float_t length=0.03, Option_t *axis="X")
Set the tick marks length for an axis.
 
Double_t fHistTopMargin
Margin between histogram's top and pad's top.
 
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
 
Int_t fOptStat
True if option Stat is selected.
 
Double_t fHatchesSpacing
Hatches spacing for hatch styles > 3100.
 
Color_t fStatTextColor
Stat text color.
 
Width_t GetFuncWidth() const
 
TAttText fAttDate
Canvas date attribute.
 
Width_t fStatBorderSize
Border size of Stats PaveLabel.
 
Bool_t GetOrthoCamera() const
 
void Browse(TBrowser *b) override
Browse the style object.
 
Float_t fTitleW
Width of title box.
 
Width_t fPadBorderSize
Pad border size.
 
void SetFuncWidth(Width_t width=4)
 
void SetLegendFillStyle(Style_t style=1001)
 
Int_t GetDrawBorder() const
 
const char * GetTitlePS() const
 
Color_t fHistLineColor
Histogram line color.
 
Int_t fOptFit
True if option Fit is selected.
 
Int_t GetCanvasDefW() const
 
Int_t GetCapLinePS() const
Returns the line cap method used for PostScript, PDF and SVG output. See TPostScript::SetLineCap for ...
 
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Function used by the TStyle manager when drawing a canvas showing the current style.
 
Width_t GetStatBorderSize() const
 
void GetPaperSize(Float_t &xsize, Float_t &ysize) const
Set paper size for PostScript output.
 
Int_t GetStripDecimals() const
 
Float_t fXAxisExpYOffset
X axis exponent label Y offset.
 
Style_t GetLegendFillStyle() const
 
Color_t fFrameFillColor
Pad frame fill color.
 
Style_t GetHistLineStyle() const
 
TStyle()
Default constructor.
 
Float_t fTitleH
Height of title box.
 
void SetTitleStyle(Style_t style=1001)
 
void SetStatColor(Color_t color=19)
 
Style_t fFrameFillStyle
Pad frame fill style.
 
void SetPadColor(Color_t color=19)
 
virtual void Reset(Option_t *option="")
Reset.
 
Int_t fShowEventStatus
Show event status panel.
 
Color_t GetTitleTextColor() const
 
Bool_t fPadGridX
True to get the grid along X.
 
void SetStatY(Float_t y=0)
 
void SetCandleWhiskerRange(Double_t wRange=1.0)
By setting whisker-range for candle plot, one can force the whiskers to cover the fraction of the dis...
 
Style_t fTitleStyle
Fill area style of title PaveLabel.
 
Style_t GetLegendFont() const
 
Int_t fCandleCircleLineWidth
Line width of the circle marker of a candle plot ([1,5]).
 
void SetLegendTextSize(Double_t size=0.)
 
TStyle & operator=(const TStyle &style)
Assignment operator.
 
void SavePrimitive(std::ostream &out, Option_t *="") override
Save primitive as a C++ statement(s) on output stream out.
 
Bool_t fCandleScaled
Candle plot, shall the box-width be scaled to each other by the integral of a box?
 
Float_t GetTitleH() const
 
Style_t GetStatStyle() const
 
Float_t fStatFontSize
Font size in pixels for fonts with precision type 3.
 
Bool_t fCanvasPreferGL
If true, rendering in canvas is with GL.
 
Float_t fLegoInnerR
Inner radius for cylindrical legos.
 
Width_t GetHistLineWidth() const
 
Int_t fOptLogy
True if log scale in y.
 
Int_t fAxisMaxDigits
Number of digits above which the 10^N notation is used for axis.
 
Style_t GetFrameLineStyle() const
 
void SetIsReading(Bool_t reading=kTRUE)
Sets the fIsReading member to reading (default=kTRUE).
 
Style_t fGridStyle
Grid line style.
 
Color_t fHistFillColor
Histogram fill color.
 
const char * GetFitFormat() const
 
Int_t fCanvasDefH
Default canvas height.
 
Int_t GetCanvasBorderMode() const
 
Int_t GetPadBorderMode() const
 
Float_t fXAxisExpXOffset
X axis exponent label X offset.
 
Color_t fFuncColor
Function color.
 
const char * GetHeaderPS() const
 
void SetTitleYOffset(Float_t offset=1)
 
const char * GetStatFormat() const
 
Width_t GetCanvasBorderSize() const
 
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
 
Float_t fStatH
Height of stat box.
 
Float_t fStatX
X position of top right corner of stat box.
 
Int_t fCanvasDefY
Default canvas top Y position.
 
Int_t GetNumberContours() const
 
void SetHistLineWidth(Width_t width=1)
 
Bool_t fOrthoCamera
Use orthographic camera with web display.
 
Float_t fPadBottomMargin
Pad bottom margin.
 
const char * GetPaintTextFormat() const
 
Float_t GetLineScalePS() const
 
Float_t fErrorX
Per cent of bin width for errors along X.
 
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
 
void SetCandleBoxRange(Double_t bRange=0.5)
By setting box-range for candle plot, one can force the box of the candle-chart to cover that given f...
 
Style_t GetStatFont() const
 
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
 
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
 
void SetCandleCircleLineWidth(Int_t CircleLineWidth=1)
Set the line width of the circle marker of a candle plot ([1,5]).
 
Width_t fLegendBorderSize
Legend box border size.
 
Float_t fStatW
Width of stat box.
 
Float_t fYAxisExpYOffset
Y axis exponent label Y offset.
 
Float_t fBarWidth
Width of bar for graphs.
 
Width_t fTitleBorderSize
Border size of Title PavelLabel.
 
Float_t fPaperSizeY
PostScript paper size along Y.
 
static void BuildStyles()
Create some standard styles.
 
Int_t fTitleAlign
Title box alignment.
 
Style_t GetFuncStyle() const
 
Color_t GetLegendFillColor() const
 
Float_t GetTitleFontSize() const
 
Int_t GetHatchesLineWidth() const
 
Float_t fDateY
Y position of the date in the canvas (in NDC)
 
void GetExponentOffset(Float_t &xoff, Float_t &yoff, Option_t *axis="X") const
Method returns X and Y offset of the axis 10^n notation.
 
Int_t GetTitleAlign() const
 
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
 
Int_t GetFrameBorderMode() const
 
TString fStatFormat
Printing format for stats.
 
Float_t GetPadTopMargin() const
 
Int_t fColorModelPS
PostScript color model: 0 = RGB, 1 = CMYK.
 
void SetLineScalePS(Float_t scale=3)
 
Width_t GetFrameLineWidth() const
 
Color_t GetFrameFillColor() const
 
Style_t fStatStyle
Fill area style of Stats PaveLabel.
 
Float_t GetTitleW() const
 
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.