40 #ifndef ROOT_TAttMarker
170 a -= (a >=
'x') ?
'x' :
'X';
171 return (a > 2) ? 0 : (
Int_t)(a+1);
const char * GetLineStyleString(Int_t i=1) const
Return line style string (used by PostScript).
Float_t GetEndErrorSize() const
const char * GetHeaderPS() const
Width_t GetGridWidth() const
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
void SetBarWidth(Float_t barwidth=0.5)
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)...
void SetPadGridX(Bool_t gridx)
Float_t GetTitleW() const
Bool_t GetPadGridX() const
void SetPadLeftMargin(Float_t margin=0.1)
Width_t GetFrameBorderSize() const
void SetTitleY(Float_t y=0.985)
Int_t GetCanvasBorderMode() const
void SetTitleXSize(Float_t size=0.02)
void SetStatColor(Color_t color=19)
void SetFrameBorderMode(Int_t mode=1)
Int_t GetShowToolBar() const
Int_t GetDrawBorder() const
void SetStatH(Float_t h=0.1)
void SetOptFile(Int_t file=1)
Bool_t GetCanvasPreferGL() const
Double_t GetTimeOffset() const
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
Style_t GetHistLineStyle() const
Int_t GetFrameBorderMode() const
void SetStatStyle(Style_t style=1001)
virtual void Copy(TObject &style) const
Copy this style.
void SetDateY(Float_t y=0.01)
Color_t GetFrameFillColor() const
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
Int_t GetPadTickX() const
Color_t GetGridColor() const
void SetTitleW(Float_t w=0)
R__EXTERN TStyle * gStyle
void SetHistLineWidth(Width_t width=1)
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
Int_t GetShowEditor() const
Color_t GetTitleFillColor() const
Width_t GetPadBorderSize() const
void SetGridStyle(Style_t style=3)
void SaveSource(const char *filename, Option_t *option=0)
Save the current style in a C++ macro file.
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
void SetFrameLineWidth(Width_t width=1)
Int_t GetNumberContours() const
static const char * filename()
void SetStatX(Float_t x=0)
void SetStatBorderSize(Width_t size=2)
void SetTitleFont(Style_t font=62, Option_t *axis="X")
Float_t GetTitleX() const
void GetPaperSize(Float_t &xsize, Float_t &ysize) const
Set paper size for PostScript output.
Float_t GetLineScalePS() const
Float_t GetTitleFontSize() const
void SetBarOffset(Float_t baroff=0.5)
Style_t GetFrameLineStyle() const
void SetStatY(Float_t y=0)
Width_t GetFuncWidth() const
void SetFrameLineStyle(Style_t styl=0)
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
static std::string format(double x, double y, int digits, int width)
Int_t GetHatchesLineWidth() const
Style_t GetHistFillStyle() const
Manages histogram axis attributes.
Color_t GetLegendFillColor() const
Int_t AxisChoice(Option_t *axis) const
void SetPadBottomMargin(Float_t margin=0.1)
Bool_t GetHistMinimumZero() const
void SetCanvasDefH(Int_t h=500)
void SetLineStyleString(Int_t i, const char *text)
Set line style string using the PostScript convention.
void SetTitlePS(const char *pstitle)
Define a string to be used in the %Title of the Postscript files.
void SetPadBorderSize(Width_t size=1)
Width_t GetTitleBorderSize() const
void SetCanvasColor(Color_t color=19)
Style_t GetStatFont() const
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
Float_t GetLegoInnerR() const
virtual void cd()
Change current style.
void SetOptLogz(Int_t logz=1)
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
void SetTitleYSize(Float_t size=0.02)
const char * Data() const
void SetTitleAlign(Int_t a=13)
void SetNumberContours(Int_t number=20)
Set the default number of contour levels when drawing 2-d plots.
void SetTitleBorderSize(Width_t size=2)
void SetLegendBorderSize(Width_t size=4)
Fill Area Attributes class.
void SetFrameFillColor(Color_t color=1)
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
Float_t GetBarOffset() const
void SetHistFillColor(Color_t color=1)
Float_t GetPadBottomMargin() const
Color_t GetTitleTextColor() const
The TNamed class is the base class for all named ROOT classes.
void SetTitleX(Float_t x=0)
Width_t GetStatBorderSize() const
Style_t GetFrameFillStyle() const
Color_t GetFuncColor() const
void SetCanvasBorderSize(Width_t size=1)
void SetPadTickX(Int_t tickx)
Color_t GetStatColor() const
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
Double_t GetHatchesSpacing() const
void SetTitleTextColor(Color_t color=1)
Double_t GetLegendTextSize() const
Float_t GetBarWidth() const
void SetHeaderPS(const char *header)
Define a string to be inserted in the Postscript header The string in header will be added to the Pos...
void SetTitleYOffset(Float_t offset=1)
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
void SetCanvasDefY(Int_t topy=10)
Int_t GetColorModelPS() const
void SetTitleColor(Color_t color=1, Option_t *axis="X")
void SetFuncStyle(Style_t style=1)
void SetStatFont(Style_t font=62)
void SetOptLogx(Int_t logx=1)
void SetGridColor(Color_t color=0)
Int_t GetPadTickY() const
Int_t GetOptTitle() const
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
TStyle objects may be created to define special styles.
Float_t GetPadRightMargin() const
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
void SetGridWidth(Width_t width=1)
Using a TBrowser one can browse all ROOT objects.
Color_t GetHistFillColor() const
Float_t GetTitleXSize() const
Width_t GetHistLineWidth() const
void SetPadBorderMode(Int_t mode=1)
void SetCanvasBorderMode(Int_t mode=1)
void SetHistFillStyle(Style_t styl=0)
Double_t length(const TVector2 &v)
void SetPadColor(Color_t color=19)
Int_t GetStripDecimals() const
void SetFrameLineColor(Color_t color=1)
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
void SetOptDate(Int_t datefl=1)
If optdate is non null, the current date/time will be printed in the canvas.
void SetTitleStyle(Style_t style=1001)
void SetIsReading(Bool_t reading=kTRUE)
Sets the fIsReading member to reading (default=kTRUE) fIsReading (used via gStyle->IsReading()) can b...
void SetScreenFactor(Float_t factor=1)
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Function used by the TStyle manager when drawing a canvas showing the current style.
void SetStatTextColor(Color_t color=1)
virtual void Paint(Option_t *option="")
Show the options from the current style if (TClass::GetClass("TStyleManager")) gSystem->Load("libGed"...
const char * GetPaintTextFormat() const
void SetTickLength(Float_t length=0.03, Option_t *axis="X")
Set the tick marks length for an axis.
virtual ~TStyle()
Destructor.
void SetStatW(Float_t w=0.19)
void SetFuncWidth(Width_t width=4)
void SavePrimitive(std::ostream &out, Option_t *="")
Save a main frame widget as a C++ statement(s) on output stream out.
void SetColorModelPS(Int_t c=0)
Define the color model used by TPostScript and TPDF (RGB or CMYK).
void SetHistTopMargin(Double_t hmax=0.05)
Style_t GetTitleStyle() const
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 if the mini...
void SetTitleH(Float_t h=0)
Float_t GetErrorX() const
Int_t GetCanvasDefW() const
EPaperSize
Set to FALSE when userclass::UseCurrentStyle is called by the style manager.
void SetDateX(Float_t x=0.01)
void SetFrameFillStyle(Style_t styl=0)
void SetTitleFontSize(Float_t size=0)
Int_t GetColorPalette(Int_t i) const
Return color number i in current palette.
Float_t GetTitleXOffset() const
Float_t GetPadLeftMargin() const
Width_t fLegendBorderSize
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis labels.
Int_t GetCanvasDefX() const
static void BuildStyles()
Create some standard styles.
Int_t GetCanvasDefY() const
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
void SetHatchesLineWidth(Int_t l)
void SetDrawBorder(Int_t drawborder=1)
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.
Float_t GetStatFontSize() const
void SetHistLineStyle(Style_t styl=0)
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
Color_t GetPadColor() const
Float_t GetTitleYOffset() const
Width_t GetFrameLineWidth() const
virtual void Reset(Option_t *option="")
Reset.
void SetLineScalePS(Float_t scale=3)
Style_t GetStatStyle() const
Color_t GetHistLineColor() const
Style_t GetFuncStyle() const
virtual void Browse(TBrowser *b)
Browse the style object.
void SetLegoInnerR(Float_t rad=0.5)
void SetPadTopMargin(Float_t margin=0.1)
Width_t GetLegendBorderSize() const
void SetPaperSize(EPaperSize size)
Set paper size for PostScript output.
Mother of all ROOT objects.
void SetLabelSize(Float_t size=0.04, Option_t *axis="X")
Set size of axis labels.
void SetTitleXOffset(Float_t offset=1)
void SetStatFontSize(Float_t size=0)
void SetLegendFont(Style_t font=62)
Double_t GetHistTopMargin() const
Color_t GetFrameLineColor() const
const char * GetFitFormat() const
Style_t GetGridStyle() const
void SetHatchesSpacing(Double_t h)
void SetTitleFillColor(Color_t color=1)
Float_t GetTitleY() const
Short_t Max(Short_t a, Short_t b)
Width_t fCanvasBorderSize
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Int_t GetPadBorderMode() const
void SetOptLogy(Int_t logy=1)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
void SetOptTitle(Int_t tit=1)
Width_t GetCanvasBorderSize() const
Float_t GetTitleYSize() const
Int_t GetShowEventStatus() const
Bool_t GetPadGridY() const
void SetPadTickY(Int_t ticky)
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
void SetStatFormat(const char *format="6.4g")
void SetPaintTextFormat(const char *format="g")
Color_t GetStatTextColor() const
void SetFitFormat(const char *format="5.4g")
void SetLegendFillColor(Color_t color=0)
Float_t GetPadTopMargin() const
void SetPadRightMargin(Float_t margin=0.1)
void SetErrorX(Float_t errorx=0.5)
void SetPadGridY(Bool_t gridy)
Float_t GetScreenFactor() const
void SetHistLineColor(Color_t color=1)
Int_t GetCanvasDefH() const
Style_t GetLegendFont() const
const char * GetTitlePS() const
Color_t GetCanvasColor() const
void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.)
See TColor::SetPalette.
void SetFuncColor(Color_t color=1)
void SetCanvasDefW(Int_t w=700)
void SetStripDecimals(Bool_t strip=kTRUE)
Set option to strip decimals when drawing axis labels.
Float_t GetTitleH() const
void SetCanvasDefX(Int_t topx=10)
const char * GetStatFormat() const
void SetFrameBorderSize(Width_t size=1)
void SetLegendTextSize(Double_t size=0.)