class TStyle: public TNamed, public TAttLine, public TAttFill, public TAttMarker, public TAttText

 TStyle objects may be created to define special styles.
 By default ROOT creates a default style that can be accessed via
 the gStyle pointer.

 This class includes functions to set some of the following object attributes.
   - Canvas
   - Pad
   - Histogram axis
   - Lines
   - Fill areas
   - Text
   - Markers
   - Functions
   - Histogram Statistics and Titles

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
Int_tAxisChoice(Option_t* axis) const
virtual voidBrowse(TBrowser* b)
static voidBuildStyles()
virtual voidcd()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidCopy(TObject& style) const
virtual voidTObject::Delete(Option_t* option = "")MENU
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tDistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Color_tGetAxisColor(Option_t* axis = "X") const
Float_tGetBarOffset() const
Float_tGetBarWidth() const
Int_tGetCanvasBorderMode() const
Width_tGetCanvasBorderSize() const
Color_tGetCanvasColor() const
Int_tGetCanvasDefH() const
Int_tGetCanvasDefW() const
Int_tGetCanvasDefX() const
Int_tGetCanvasDefY() const
Bool_tGetCanvasPreferGL() const
Int_tGetColorModelPS() const
Int_tGetColorPalette(Int_t i) const
Float_tGetDateX() const
Float_tGetDateY() const
Int_tGetDrawBorder() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Float_tGetEndErrorSize() const
Float_tGetErrorX() const
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
const char*GetFitFormat() const
Int_tGetFrameBorderMode() const
Width_tGetFrameBorderSize() const
Color_tGetFrameFillColor() const
Style_tGetFrameFillStyle() const
Color_tGetFrameLineColor() const
Style_tGetFrameLineStyle() const
Width_tGetFrameLineWidth() const
Color_tGetFuncColor() const
Style_tGetFuncStyle() const
Width_tGetFuncWidth() const
Color_tGetGridColor() const
Style_tGetGridStyle() const
Width_tGetGridWidth() const
Int_tGetHatchesLineWidth() const
Double_tGetHatchesSpacing() const
const char*GetHeaderPS() const
Color_tGetHistFillColor() const
Style_tGetHistFillStyle() const
Color_tGetHistLineColor() const
Style_tGetHistLineStyle() const
Width_tGetHistLineWidth() const
Bool_tGetHistMinimumZero() const
Double_tGetHistTopMargin() const
virtual const char*TObject::GetIconName() const
Color_tGetLabelColor(Option_t* axis = "X") const
Style_tGetLabelFont(Option_t* axis = "X") const
Float_tGetLabelOffset(Option_t* axis = "X") const
Float_tGetLabelSize(Option_t* axis = "X") const
Width_tGetLegendBorderSize() const
Color_tGetLegendFillColor() const
Style_tGetLegendFont() const
Double_tGetLegendTextSize() const
Float_tGetLegoInnerR() const
virtual Color_tTAttLine::GetLineColor() const
Float_tGetLineScalePS() const
virtual Style_tTAttLine::GetLineStyle() const
const char*GetLineStyleString(Int_t i = 1) const
virtual Width_tTAttLine::GetLineWidth() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual const char*TNamed::GetName() const
Int_tGetNdivisions(Option_t* axis = "X") const
Int_tGetNumberContours() const
Int_tGetNumberOfColors() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
Int_tGetOptDate() const
Int_tGetOptFile() const
Int_tGetOptFit() const
virtual Option_t*TObject::GetOption() const
Int_tGetOptLogx() const
Int_tGetOptLogy() const
Int_tGetOptLogz() const
Int_tGetOptStat() const
Int_tGetOptTitle() const
Int_tGetPadBorderMode() const
Width_tGetPadBorderSize() const
Float_tGetPadBottomMargin() const
Color_tGetPadColor() const
Bool_tGetPadGridX() const
Bool_tGetPadGridY() const
Float_tGetPadLeftMargin() const
Float_tGetPadRightMargin() const
Int_tGetPadTickX() const
Int_tGetPadTickY() const
Float_tGetPadTopMargin() const
const char*GetPaintTextFormat() const
voidGetPaperSize(Float_t& xsize, Float_t& ysize) const
Float_tGetScreenFactor() const
Int_tGetShowEditor() const
Int_tGetShowEventStatus() const
Int_tGetShowToolBar() const
Width_tGetStatBorderSize() const
Color_tGetStatColor() const
Style_tGetStatFont() const
Float_tGetStatFontSize() const
const char*GetStatFormat() const
Float_tGetStatH() const
Style_tGetStatStyle() const
Color_tGetStatTextColor() const
Float_tGetStatW() const
Float_tGetStatX() const
Float_tGetStatY() const
Int_tGetStripDecimals() const
virtual Short_tTAttText::GetTextAlign() const
virtual Float_tTAttText::GetTextAngle() const
virtual Color_tTAttText::GetTextColor() const
virtual Font_tTAttText::GetTextFont() const
virtual Float_tTAttText::GetTextSize() const
Float_tGetTickLength(Option_t* axis = "X") const
Double_tGetTimeOffset() const
virtual const char*TNamed::GetTitle() const
Width_tGetTitleBorderSize() const
Color_tGetTitleColor(Option_t* axis = "X") const
Color_tGetTitleFillColor() const
Style_tGetTitleFont(Option_t* axis = "X") const
Float_tGetTitleFontSize() const
Float_tGetTitleH() const
Float_tGetTitleOffset(Option_t* axis = "X") const
const char*GetTitlePS() const
Float_tGetTitleSize(Option_t* axis = "X") const
Style_tGetTitleStyle() const
Color_tGetTitleTextColor() const
Float_tGetTitleW() const
Float_tGetTitleX() const
Float_tGetTitleXOffset() const
Float_tGetTitleXSize() const
Float_tGetTitleY() const
Float_tGetTitleYOffset() const
Float_tGetTitleYSize() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsReading() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TStyle&operator=(const TStyle&)
virtual voidPaint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidReset(Option_t* option = "")
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
virtual voidTAttText::ResetAttText(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidSavePrimitive(ostream& out, Option_t* = "")
voidSaveSource(const char* filename, Option_t* option = 0)
virtual voidTAttText::SaveTextAttributes(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)
voidSetAxisColor(Color_t color = 1, Option_t* axis = "X")
voidSetBarOffset(Float_t baroff = 0.5)
voidSetBarWidth(Float_t barwidth = 0.5)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCanvasBorderMode(Int_t mode = 1)
voidSetCanvasBorderSize(Width_t size = 1)
voidSetCanvasColor(Color_t color = 19)
voidSetCanvasDefH(Int_t h = 500)
voidSetCanvasDefW(Int_t w = 700)
voidSetCanvasDefX(Int_t topx = 10)
voidSetCanvasDefY(Int_t topy = 10)
voidSetCanvasPreferGL(Bool_t prefer = kTRUE)
voidSetColorModelPS(Int_t c = 0)
voidSetDateX(Float_t x = 0.01)
voidSetDateY(Float_t y = 0.01)
voidSetDrawBorder(Int_t drawborder = 1)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEndErrorSize(Float_t np = 2)
voidSetErrorX(Float_t errorx = 0.5)
virtual voidTAttFill::SetFillAttributes()MENU
virtual voidTAttFill::SetFillColor(Color_t fcolor)
virtual voidTAttFill::SetFillColorAlpha(Color_t fcolor, Float_t falpha)
virtual voidTAttFill::SetFillStyle(Style_t fstyle)
voidSetFitFormat(const char* format = "5.4g")
voidSetFrameBorderMode(Int_t mode = 1)
voidSetFrameBorderSize(Width_t size = 1)
voidSetFrameFillColor(Color_t color = 1)
voidSetFrameFillStyle(Style_t styl = 0)
voidSetFrameLineColor(Color_t color = 1)
voidSetFrameLineStyle(Style_t styl = 0)
voidSetFrameLineWidth(Width_t width = 1)
voidSetFuncColor(Color_t color = 1)
voidSetFuncStyle(Style_t style = 1)
voidSetFuncWidth(Width_t width = 4)
voidSetGridColor(Color_t color = 0)
voidSetGridStyle(Style_t style = 3)
voidSetGridWidth(Width_t width = 1)
voidSetHatchesLineWidth(Int_t l)
voidSetHatchesSpacing(Double_t h)
voidSetHeaderPS(const char* header)
voidSetHistFillColor(Color_t color = 1)
voidSetHistFillStyle(Style_t styl = 0)
voidSetHistLineColor(Color_t color = 1)
voidSetHistLineStyle(Style_t styl = 0)
voidSetHistLineWidth(Width_t width = 1)
voidSetHistMinimumZero(Bool_t zero = kTRUE)
voidSetHistTopMargin(Double_t hmax = 0.050000000000000003)
voidSetIsReading(Bool_t reading = kTRUE)
voidSetLabelColor(Color_t color = 1, Option_t* axis = "X")
voidSetLabelFont(Style_t font = 62, Option_t* axis = "X")
voidSetLabelOffset(Float_t offset = 0.0050000000000000001, Option_t* axis = "X")
voidSetLabelSize(Float_t size = 0.040000000000000001, Option_t* axis = "X")
voidSetLegendBorderSize(Width_t size = 4)
voidSetLegendFillColor(Color_t color = 0)
voidSetLegendFont(Style_t font = 62)
voidSetLegendTextSize(Double_t size = 0.)
voidSetLegoInnerR(Float_t rad = 0.5)
virtual voidTAttLine::SetLineAttributes()MENU
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineColorAlpha(Color_t lcolor, Float_t lalpha)
voidSetLineScalePS(Float_t scale = 3)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
voidSetLineStyleString(Int_t i, const char* text)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
virtual voidTAttMarker::SetMarkerAttributes()MENU
virtual voidTAttMarker::SetMarkerColor(Color_t mcolor = 1)
virtual voidTAttMarker::SetMarkerColorAlpha(Color_t mcolor, Float_t malpha)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNdivisions(Int_t n = 510, Option_t* axis = "X")
voidSetNumberContours(Int_t number = 20)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOptDate(Int_t datefl = 1)
voidSetOptFile(Int_t file = 1)
voidSetOptFit(Int_t fit = 1)
voidSetOptLogx(Int_t logx = 1)
voidSetOptLogy(Int_t logy = 1)
voidSetOptLogz(Int_t logz = 1)
voidSetOptStat(Int_t stat = 1)
voidSetOptStat(Option_t* stat)
voidSetOptTitle(Int_t tit = 1)
voidSetPadBorderMode(Int_t mode = 1)
voidSetPadBorderSize(Width_t size = 1)
voidSetPadBottomMargin(Float_t margin = 0.10000000000000001)
voidSetPadColor(Color_t color = 19)
voidSetPadGridX(Bool_t gridx)
voidSetPadGridY(Bool_t gridy)
voidSetPadLeftMargin(Float_t margin = 0.10000000000000001)
voidSetPadRightMargin(Float_t margin = 0.10000000000000001)
voidSetPadTickX(Int_t tickx)
voidSetPadTickY(Int_t ticky)
voidSetPadTopMargin(Float_t margin = 0.10000000000000001)
voidSetPaintTextFormat(const char* format = "g")
voidSetPalette(Int_t ncolors = 0, Int_t* colors = 0, Float_t alpha = 1.)
voidSetPaperSize(TStyle::EPaperSize size)
voidSetPaperSize(Float_t xsize = 20, Float_t ysize = 26)
voidSetScreenFactor(Float_t factor = 1)
voidSetStatBorderSize(Width_t size = 2)
voidSetStatColor(Color_t color = 19)
voidSetStatFont(Style_t font = 62)
voidSetStatFontSize(Float_t size = 0)
voidSetStatFormat(const char* format = "6.4g")
voidSetStatH(Float_t h = 0.10000000000000001)
voidSetStatStyle(Style_t style = 1001)
voidSetStatTextColor(Color_t color = 1)
voidSetStatW(Float_t w = 0.19)
voidSetStatX(Float_t x = 0)
voidSetStatY(Float_t y = 0)
voidSetStripDecimals(Bool_t strip = kTRUE)
virtual voidTAttText::SetTextAlign(Short_t align = 11)
virtual voidTAttText::SetTextAngle(Float_t tangle = 0)MENU
virtual voidTAttText::SetTextAttributes()MENU
virtual voidTAttText::SetTextColor(Color_t tcolor = 1)
virtual voidTAttText::SetTextColorAlpha(Color_t tcolor, Float_t talpha)
virtual voidTAttText::SetTextFont(Font_t tfont = 62)
virtual voidTAttText::SetTextSize(Float_t tsize = 1)
virtual voidTAttText::SetTextSizePixels(Int_t npixels)
voidSetTickLength(Float_t length = 0.029999999999999999, Option_t* axis = "X")
voidSetTimeOffset(Double_t toffset)
virtual voidTNamed::SetTitle(const char* title = "")MENU
voidSetTitleAlign(Int_t a = 13)
voidSetTitleBorderSize(Width_t size = 2)
voidSetTitleColor(Color_t color = 1, Option_t* axis = "X")
voidSetTitleFillColor(Color_t color = 1)
voidSetTitleFont(Style_t font = 62, Option_t* axis = "X")
voidSetTitleFontSize(Float_t size = 0)
voidSetTitleH(Float_t h = 0)
voidSetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
voidSetTitlePS(const char* pstitle)
voidSetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
voidSetTitleStyle(Style_t style = 1001)
voidSetTitleTextColor(Color_t color = 1)
voidSetTitleW(Float_t w = 0)
voidSetTitleX(Float_t x = 0)
voidSetTitleXOffset(Float_t offset = 1)
voidSetTitleXSize(Float_t size = 0.02)
voidSetTitleY(Float_t y = 0.98499999999999998)
voidSetTitleYOffset(Float_t offset = 1)
voidSetTitleYSize(Float_t size = 0.02)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TStyle(const TStyle& style)
TStyle(const char* name, const char* title)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

static TStyle::EPaperSizekA4
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TStyle::EPaperSizekUSLetter
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
TAttTextfAttDatecanvas date attribute
Float_tfBarOffsetoffset of bar for graphs
Float_tfBarWidthwidth of bar for graphs
Int_tfCanvasBorderModecanvas border mode
Width_tfCanvasBorderSizecanvas border size
Color_tfCanvasColorcanvas color
Int_tfCanvasDefHdefault canvas height
Int_tfCanvasDefWdefault canvas width
Int_tfCanvasDefXdefault canvas top X position
Int_tfCanvasDefYdefault canvas top Y position
Bool_tfCanvasPreferGLif true, rendering in canvas is with GL
Int_tfColorModelPSPostScript color model: 0 = RGB, 1 = CMYK
Float_tfDateXX position of the date in the canvas (in NDC)
Float_tfDateYY position of the date in the canvas (in NDC)
Int_tfDrawBorderflag to draw border(=1) or not (0)
Float_tfEndErrorSizeSize of lines at the end of error bars
Float_tfErrorXper cent of bin width for errors along X
TStringfFitFormatPrinting format for fit parameters
Int_tfFrameBorderModepad frame border mode
Width_tfFrameBorderSizepad frame border size
Color_tfFrameFillColorpad frame fill color
Style_tfFrameFillStylepad frame fill style
Color_tfFrameLineColorpad frame line color
Style_tfFrameLineStylepad frame line style
Width_tfFrameLineWidthpad frame line width
Color_tfFuncColorfunction color
Style_tfFuncStylefunction style
Width_tfFuncWidthfunction line width
Color_tfGridColorgrid line color (if 0 use axis line color)
Style_tfGridStylegrid line style
Width_tfGridWidthgrid line width
Int_tfHatchesLineWidthhatches line width for hatch styles > 3100
Double_tfHatchesSpacinghatches spacing for hatch styles > 3100
TStringfHeaderPSUser defined additional Postscript header
Color_tfHistFillColorhistogram fill color
Style_tfHistFillStylehistogram fill style
Color_tfHistLineColorhistogram line color
Style_tfHistLineStylehistogram line style
Width_tfHistLineWidthhistogram line width
Bool_tfHistMinimumZerotrue if default minimum is 0, false if minimum is automatic
Double_tfHistTopMarginmargin between histogram's top and pad's top
Bool_tfIsReading!Set to FALSE when userclass::UseCurrentStyle is called by the style manager
Width_tfLegendBorderSizelegend box border size
Color_tfLegendFillColorlegend fill color
Style_tfLegendFontlegend font style
Double_tfLegendTextSizelegend text size. If 0 the size is computed automatically
Float_tfLegoInnerRInner radius for cylindrical legos
Float_tfLineScalePSLine scale factor when drawing lines on Postscript
TStringfLineStyle[30]String describing line style i (for postScript)
Int_tfNumberContoursdefault number of contours for 2-d plots
Int_tfOptDate=1 if date option is selected
Int_tfOptFile=1 if option File is selected
Int_tfOptFit=1 if option Fit is selected
Int_tfOptLogx=1 if log scale in X
Int_tfOptLogy=1 if log scale in y
Int_tfOptLogz=1 if log scale in z
Int_tfOptStat=1 if option Stat is selected
Int_tfOptTitle=1 if option Title is selected
Int_tfPadBorderModepad border mode
Width_tfPadBorderSizepad border size
Float_tfPadBottomMarginpad bottom margin
Color_tfPadColorpad color
Bool_tfPadGridXtrue to get the grid along X
Bool_tfPadGridYtrue to get the grid along Y
Float_tfPadLeftMarginpad left margin
Float_tfPadRightMarginpad right margin
Int_tfPadTickX=1 to set special pad ticks along X
Int_tfPadTickY=1 to set special pad ticks along Y
Float_tfPadTopMarginpad top margin
TStringfPaintTextFormatPrinting format for TH2::PaintText
Float_tfPaperSizeXPostScript paper size along X
Float_tfPaperSizeYPostScript paper size along Y
Float_tfScreenFactorMultiplication factor for canvas size and position
Int_tfShowEditorShow pad editor
Int_tfShowEventStatusShow event status panel
Int_tfShowToolBarShow toolbar
Width_tfStatBorderSizeborder size of Stats PaveLabel
Color_tfStatColorstat fill area color
Style_tfStatFontfont style of Stats PaveLabel
Float_tfStatFontSizefont size in pixels for fonts with precision type 3
TStringfStatFormatPrinting format for stats
Float_tfStatHheight of stat box
Style_tfStatStylefill area style of Stats PaveLabel
Color_tfStatTextColorstat text color
Float_tfStatWwidth of stat box
Float_tfStatXX position of top right corner of stat box
Float_tfStatYY position of top right corner of stat box
Bool_tfStripDecimalsStrip decimals in axis labels
Double_tfTimeOffsetTime offset to the beginning of an axis
Int_tfTitleAligntitle box alignment
Width_tfTitleBorderSizeborder size of Title PavelLabel
Color_tfTitleColortitle fill area color
Style_tfTitleFontfont style of Title PaveLabel
Float_tfTitleFontSizefont size in pixels for fonts with precision type 3
Float_tfTitleHheight of title box
TStringfTitlePSUser defined Postscript file title
Style_tfTitleStylefill area style of title PaveLabel
Color_tfTitleTextColortitle text color
Float_tfTitleWwidth of title box
Float_tfTitleXX position of top left corner of title box
Float_tfTitleYY position of top left corner of title box
TAttAxisfXaxisX axis attributes
TAttAxisfYaxisY axis attributes
TAttAxisfZaxisZ axis attributes

Class Charts

Inheritance Chart:

Function documentation

 Default constructor.
TStyle(const char* name, const char* title)
 Create a new TStyle.
 The following names are reserved to create special styles
   -Classic: the default style set in TStyle::Reset
   -Plain: a black&white oriented style
     (see the definition of these styles below).

 Note a side-effect of calling gStyle->SetFillColor(0). This is nearly
 equivalent of selecting the "Plain" style.

 Many graphics attributes may be set via the TStyle, see in particular
  - TStyle::SetNdivisions
  - TStyle::SetAxisColor
  - TStyle::SetHeaderPS
  - TStyle::SetTitlePS
  - TStyle::SetLabelColor
  - TStyle::SetLabelFont
  - TStyle::SetLabelOffset
  - TStyle::SetLabelSize
  - TStyle::SetOptDate
  - TStyle::SetLineStyleString
  - TStyle::SetOptFit
  - TStyle::SetOptStat
  - TStyle::SetPaperSize
  - TStyle::SetTickLength
  - TStyle::SetTitleOffset
  - TStyle::SetTitleSize
  - TStyle::SetPalette
  - TStyle::SetTimeOffset
  - TStyle::SetStripDecimals

  The current style is pointed by gStyle.
  When calling myStyle->cd(), gStyle is set to myStyle.
  One can also use gROOT to change the current style, e.g.
    gROOT->SetStyle("Plain") will change the current style gStyle to the
    "Plain" style
  See also TROOT::ForceStyle and TROOT::UseCurrentStyle
TStyle(const TStyle& style)
 Copy constructor.
void Browse(TBrowser* b)
 Browse the style object.
void BuildStyles()
 Create some standard styles.
void cd()
 Change current style.
void Copy(TObject& style) const
 Copy this style.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
 Function used by the TStyle manager when drawing a canvas showing the
 current style.
void Reset(Option_t* option = "")
Int_t GetNdivisions(Option_t* axis = "X") const
 Return number of divisions.
Color_t GetAxisColor(Option_t* axis = "X") const
 Return the axis color number in the axis.
Int_t GetColorPalette(Int_t i) const
 Return color number i in current palette.
Color_t GetLabelColor(Option_t* axis = "X") const
 Return the label color number in the axis.
Style_t GetLabelFont(Option_t* axis = "X") const
 Return label font.
Float_t GetLabelOffset(Option_t* axis = "X") const
 Return label offset.
Float_t GetLabelSize(Option_t* axis = "X") const
 Return label size.
const char * GetLineStyleString(Int_t i = 1) const
 Return line style string (used by PostScript).
 See SetLineStyleString for more explanations
Int_t GetNumberOfColors() const
 Return number of colors in the color palette.
void GetPaperSize(Float_t& xsize, Float_t& ysize) const
 Set paper size for PostScript output.
Float_t GetTickLength(Option_t* axis = "X") const
 Return tick length.
Color_t GetTitleColor(Option_t* axis = "X") const
 Return title color.
Style_t GetTitleFont(Option_t* axis = "X") const
 Return title font.
Float_t GetTitleOffset(Option_t* axis = "X") const
 Return title offset.
Float_t GetTitleSize(Option_t* axis = "X") const
 Return title size.
void Paint(Option_t* option = "")
 Show the options from the current style
 if (TClass::GetClass("TStyleManager")) gSystem->Load("libGed");
void SetColorModelPS(Int_t c = 0)
 Define the color model used by TPostScript and TPDF (RGB or CMYK).
 CMY and CMYK models are subtractive color models unlike RGB which is
 additive. They are mainly used for printing purposes. CMY means Cyan Magenta
 Yellow. To convert RGB to CMY it is enough to do: C=1-R, M=1-G and Y=1-B.
 CMYK has one more component K (black). The conversion from RGB to CMYK is:

 Double_t Black   = TMath::Min(TMath::Min(1-Red,1-Green),1-Blue);
 Double_t Cyan    = (1-Red-Black)/(1-Black);
 Double_t Magenta = (1-Green-Black)/(1-Black);
 Double_t Yellow  = (1-Blue-Black)/(1-Black);

 CMYK adds the black component which allows better quality for black
 printing. PostScript and PDF support the CMYK model.

 c = 0 means TPostScript and TPDF will use RGB color model (default)
 c = 1 means TPostScript and TPDF will use CMYK color model
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 minimum bin content is greater than 0 and TH1::SetMinimum
 has not been called.
 Otherwise the minimum is based on the minimum bin content.
void SetNdivisions(Int_t n = 510, Option_t* axis = "X")
 Set the number of divisions to draw an axis.
  ndiv      : Number of divisions.

       n = N1 + 100*N2 + 10000*N3
       N1=number of primary divisions.
       N2=number of secondary divisions.
       N3=number of 3rd divisions.
           nndi=0 --> no tick marks.
           nndi=2 --> 2 divisions, one tick mark in the middle
                      of the axis.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetAxisColor(Color_t color = 1, Option_t* axis = "X")
 Set color to draw the axis line and tick marks.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
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).
 The default value is 2 pixels.
 Set np=0 to remove these lines
void SetHeaderPS(const char* header)
 Define a string to be inserted in the Postscript header
 The string in header will be added to the Postscript file
 immediately following the %%Page line
 For example, this string may contain special Postscript instructions like
      200 200 translate
 the following header string will print the string "my annotation" at the
 bottom left corner of the page (outside the user area)
  "gsave 100 -100 t 0 r 0 0 m /Helvetica-Bold findfont 56 sf 0 0 m ( my annotation ) show gr"
 This information is used in TPostScript::Initialize
void SetIsReading(Bool_t reading = kTRUE)
 Sets the fIsReading member to reading (default=kTRUE)
 fIsReading (used via gStyle->IsReading()) can be used in
 the functions myclass::UseCurrentStyle to read from the current style
 or write to the current style
void SetTitlePS(const char* pstitle)
 Define a string to be used in the %%Title of the Postscript files.
 If this string is not defined, ROOT will use the canvas title.
void SetLabelColor(Color_t color = 1, Option_t* axis = "X")
 Set axis labels color.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetLabelFont(Style_t font = 62, Option_t* axis = "X")
 Set font number used to draw axis labels.
    font  : Text font code = 10*fontnumber + precision
             Font numbers must be between 1 and 14
             precision = 1 fast hardware fonts (steps in the size)
             precision = 2 scalable and rotatable hardware fonts
 The default font number is 62.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetLabelOffset(Float_t offset = 0.0050000000000000001, Option_t* axis = "X")
 Set offset between axis and axis labels.
 The offset is expressed as a percent of the pad height.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetLabelSize(Float_t size = 0.040000000000000001, Option_t* axis = "X")
 Set size of axis labels. The size is expressed as a percent of the pad height.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetLineStyleString(Int_t i, const char* text)
 Set line style string using the PostScript convention.
 A line is a suite of segments, each segment is described by the number of
 pixels. The initial and alternating elements (second, fourth, and so on)
 are the dashes, and the others spaces between dashes.

 Default fixed line styles are pre-defined as:

   linestyle 1  "[]"             solid
   linestyle 2  "[12 12]"        dashed
   linestyle 3  "[4 8]"          dotted
   linestyle 4  "[12 16 4 16]"   dash-dotted

  For example the following lines define the line style 5 to 9.

   gStyle->SetLineStyleString(5,"20 12 4 12");
   gStyle->SetLineStyleString(6,"20 12 4 12 4 12 4 12");
   gStyle->SetLineStyleString(7,"20 20");
   gStyle->SetLineStyleString(8,"20 12 4 12 4 12");
   gStyle->SetLineStyleString(9,"80 20");

/* */

  - Up to 30 different styles may be defined.
  - The opening and closing brackets may be omitted
  - It is recommended to use 4 as the smallest segment length and multiple of
    4 for other lengths.
  - The line style 1 to 10 are predefined. 1 to 4 cannot be changed.
void SetNumberContours(Int_t number = 20)
 Set the default number of contour levels when drawing 2-d plots.
void SetOptDate(Int_t datefl = 1)
 If optdate is non null, the current date/time will be printed in the canvas.
 The position of the date string can be controlled by:
  optdate = 10*format + mode
    mode = 1   (default) date is printed in the bottom/left corner.
    mode = 2   date is printed in the bottom/right corner.
    mode = 3   date is printed in the top/right corner.
    format = 0 (default) date has the format like: "Wed Sep 25 17:10:35 2002"
    format = 1 date has the format like: "2002-09-25"
    format = 2 date has the format like: "2002-09-25 17:10:35"

    optdate = 1  date like "Wed Sep 25 17:10:35 2002" in the bottom/left corner.
    optdate = 13 date like "2002-09-25" in the top/right corner.

  The date position can also be controlled by:
    gStyle->SetDateX(x);  x in NDC
    gStyle->SetDateY(y);  y in NDC

  The date text attributes can be changed with:

  The current date attributes can be obtained via:

  When the date option is active, a text object is created when the pad
  paint its list of primitives. The text object is named "DATE".
  The DATE attributes can also be edited interactively (position
  and attributes) via the normal context menu.
void SetOptFit(Int_t fit = 1)
 The type of information about fit parameters printed in the histogram
 statistics box can be selected via the parameter mode.
  The parameter mode can be = pcev  (default = 0111)
    p = 1;  print Probability
    c = 1;  print Chisquare/Number of degrees of freedom
    e = 1;  print errors (if e=1, v must be 1)
    v = 1;  print name/values of parameters
  Example: gStyle->SetOptFit(1011);
           print fit probability, parameter names/values and errors.
    When "v"=1 is specified, only the non-fixed parameters are shown.
    When "v"=2 all parameters are shown.

  Note: gStyle->SetOptFit(1) means "default value", so it is equivalent to

 see also SetOptStat below.
void SetOptStat(Int_t stat = 1)
 The type of information printed in the histogram statistics box
  can be selected via the parameter mode.
  The parameter mode can be = ksiourmen  (default = 000001111)
    k = 1;  kurtosis printed
    k = 2;  kurtosis and kurtosis error printed
    s = 1;  skewness printed
    s = 2;  skewness and skewness error printed
    i = 1;  integral of bins printed
    i = 2;  integral of bins with option "width" printed
    o = 1;  number of overflows printed
    u = 1;  number of underflows printed
    r = 1;  rms printed
    r = 2;  rms and rms error printed
    m = 1;  mean value printed
    m = 2;  mean and mean error values printed
    e = 1;  number of entries printed
    n = 1;  name of histogram is printed
  Example: gStyle->SetOptStat(11);
           print only name of histogram and number of entries.
           gStyle->SetOptStat(1101);  displays the name of histogram, mean value and RMS.
  WARNING: never call SetOptStat(000111); but SetOptStat(1111), 0001111 will
          be taken as an octal number !!
  WARNING: SetOptStat(1) is taken as SetOptStat(1111) (for back compatibility
           with older versions. If you want to print only the name of the histogram
           call SetOptStat(1000000001).
  NOTE that in case of 2-D histograms, when selecting just underflow (10000)
        or overflow (100000), the stats box will show all combinations
        of underflow/overflows and not just one single number!
void SetOptStat(Option_t* stat)
  The parameter mode can be any combination of kKsSiourRmMen
    k :  kurtosis printed
    K :  kurtosis and kurtosis error printed
    s :  skewness printed
    S :  skewness and skewness error printed
    i :  integral of bins printed
    I :  integral of bins with option "width" printed
    o :  number of overflows printed
    u :  number of underflows printed
    r :  rms printed
    R :  rms and rms error printed
    m :  mean value printed
    M :  mean value mean error values printed
    e :  number of entries printed
    n :  name of histogram is printed
  Example: gStyle->SetOptStat("ne");
           print only name of histogram and number of entries.
  gStyle->SetOptStat("n") print only the name of the histogram
  gStyle->SetOptStat("nemr") is the default
void SetPaperSize(TStyle::EPaperSize size)
 Set paper size for PostScript output.
void SetPaperSize(Float_t xsize = 20, Float_t ysize = 26)
 Set paper size for PostScript output.
 The paper size is specified in centimeters. Default is 20x26.
 See also TPad::Print
void SetTickLength(Float_t length = 0.029999999999999999, Option_t* axis = "X")
 Set the tick marks length for an axis.
 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetTitleColor(Color_t color = 1, Option_t* axis = "X")
 if axis =="x"  set the X axis title color
 if axis =="y"  set the Y axis title color
 if axis =="z"  set the Z axis title color
 any other value of axis will set the pad title color

 if axis="xyz" set all 3 axes
void SetTitleFont(Style_t font = 62, Option_t* axis = "X")
 if axis =="x"  set the X axis title font
 if axis =="y"  set the Y axis title font
 if axis =="z"  set the Z axis title font
 any other value of axis will set the pad title font

 if axis="xyz" set all 3 axes
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.
 offset = 1 means : use the default distance
 offset = 1.2 means: the distance will be 1.2*(default distance)
 offset = 0.8 means: the distance will be 0.8*(default distance)

 axis specifies which axis ("x","y","z"), default = "x"
 if axis="xyz" set all 3 axes
void SetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
 if axis =="x"  set the X axis title size
 if axis =="y"  set the Y axis title size
 if axis =="z"  set the Z axis title size
 any other value of axis will set the pad title size

 if axis="xyz" set all 3 axes
void SetPalette(Int_t ncolors = 0, Int_t* colors = 0, Float_t alpha = 1.)
void SetTimeOffset(Double_t toffset)
 Change the time offset for time plotting.
 Times are expressed in seconds. The corresponding numbers usually have 9
 digits (or more if one takes into account fractions of seconds).
 Thus, since it is very inconvenient to plot very large numbers on a scale,
 one has to set an offset time that will be added to the axis beginning,
 in order to plot times correctly and conveniently. A convenient way to
 set the time offset is to use TDatime::Convert().

 By default the time offset is set to 788918400 which corresponds to
 01/01/1995. This allows to have valid dates until 2072. The standard
 UNIX time offset in 1970 allows only valid dates until 2030.
void SetStripDecimals(Bool_t strip = kTRUE)
  Set option to strip decimals when drawing axis labels.
  By default, TGaxis::PaintAxis removes trailing 0s after a dot
  in the axis labels. Ex: {0,0.5,1,1.5,2,2.5, etc}
  If this function is called with strip=kFALSE, TGAxis::PaintAxis will
  draw labels with the same number of digits after the dot
  Ex: (0.0,0.5,1.0,1.5,2.0,2.5,etc}
void SaveSource(const char* filename, Option_t* option = 0)
 Save the current style in a C++ macro file.
void SavePrimitive(ostream& out, Option_t* = "")
 Save a main frame widget as a C++ statement(s) on output stream out.
Int_t AxisChoice(Option_t* axis) const
 Return axis number (1 for X, 2 for Y, 3 for Z)
TAttText * GetAttDate()
{return &fAttDate;}
Float_t GetBarOffset() const
{return fBarOffset;}
Float_t GetBarWidth() const
{return fBarWidth;}
Int_t GetDrawBorder() const
{return fDrawBorder;}
Float_t GetEndErrorSize() const
{return fEndErrorSize;}
Float_t GetErrorX() const
{return fErrorX;}
Bool_t GetCanvasPreferGL() const
{return fCanvasPreferGL;}
Color_t GetCanvasColor() const
{return fCanvasColor;}
Width_t GetCanvasBorderSize() const
Int_t GetCanvasBorderMode() const
Int_t GetCanvasDefH() const
{return fCanvasDefH;}
Int_t GetCanvasDefW() const
{return fCanvasDefW;}
Int_t GetCanvasDefX() const
{return fCanvasDefX;}
Int_t GetCanvasDefY() const
{return fCanvasDefY;}
Int_t GetColorModelPS() const
{return fColorModelPS;}
Float_t GetDateX() const
{return fDateX;}
Float_t GetDateY() const
{return fDateY;}
const char * GetFitFormat() const
{return fFitFormat.Data();}
Int_t GetHatchesLineWidth() const
Double_t GetHatchesSpacing() const
{return fHatchesSpacing;}
Width_t GetLegendBorderSize() const
Color_t GetLegendFillColor() const
Style_t GetLegendFont() const
{return fLegendFont;}
Double_t GetLegendTextSize() const
{return fLegendTextSize;}
Color_t GetPadColor() const
{return fPadColor;}
Width_t GetPadBorderSize() const
{return fPadBorderSize;}
Int_t GetPadBorderMode() const
{return fPadBorderMode;}
Float_t GetPadBottomMargin() const
Float_t GetPadTopMargin() const
{return fPadTopMargin;}
Float_t GetPadLeftMargin() const
{return fPadLeftMargin;}
Float_t GetPadRightMargin() const
{return fPadRightMargin;}
Bool_t GetPadGridX() const
{return fPadGridX;}
Bool_t GetPadGridY() const
{return fPadGridY;}
Int_t GetPadTickX() const
{return fPadTickX;}
Int_t GetPadTickY() const
{return fPadTickY;}
Color_t GetFuncColor() const
{return fFuncColor;}
Style_t GetFuncStyle() const
{return fFuncStyle;}
Width_t GetFuncWidth() const
{return fFuncWidth;}
Color_t GetGridColor() const
{return fGridColor;}
Style_t GetGridStyle() const
{return fGridStyle;}
Width_t GetGridWidth() const
{return fGridWidth;}
Color_t GetFrameFillColor() const
{return fFrameFillColor;}
Color_t GetFrameLineColor() const
{return fFrameLineColor;}
Style_t GetFrameFillStyle() const
{return fFrameFillStyle;}
Style_t GetFrameLineStyle() const
{return fFrameLineStyle;}
Width_t GetFrameLineWidth() const
{return fFrameLineWidth;}
Width_t GetFrameBorderSize() const
Int_t GetFrameBorderMode() const
Color_t GetHistFillColor() const
{return fHistFillColor;}
Color_t GetHistLineColor() const
{return fHistLineColor;}
Style_t GetHistFillStyle() const
{return fHistFillStyle;}
Style_t GetHistLineStyle() const
{return fHistLineStyle;}
Width_t GetHistLineWidth() const
{return fHistLineWidth;}
Bool_t GetHistMinimumZero() const
Double_t GetHistTopMargin() const
{return fHistTopMargin;}
Float_t GetLegoInnerR() const
{return fLegoInnerR;}
Int_t GetNumberContours() const
{return fNumberContours;}
Int_t GetOptDate() const
{return fOptDate;}
Int_t GetOptFile() const
{return fOptFile;}
Int_t GetOptFit() const
{return fOptFit;}
Int_t GetOptStat() const
{return fOptStat;}
Int_t GetOptTitle() const
{return fOptTitle;}
Int_t GetOptLogx() const
{return fOptLogx;}
Int_t GetOptLogy() const
{return fOptLogy;}
Int_t GetOptLogz() const
{return fOptLogz;}
const char * GetPaintTextFormat() const
Int_t GetShowEventStatus() const
Int_t GetShowEditor() const
{return fShowEditor;}
Int_t GetShowToolBar() const
{return fShowToolBar;}
Float_t GetScreenFactor() const
{return fScreenFactor;}
Color_t GetStatColor() const
{return fStatColor;}
Color_t GetStatTextColor() const
{return fStatTextColor;}
Width_t GetStatBorderSize() const
{return fStatBorderSize;}
Style_t GetStatFont() const
{return fStatFont;}
Float_t GetStatFontSize() const
{return fStatFontSize;}
Style_t GetStatStyle() const
{return fStatStyle;}
const char * GetStatFormat() const
{return fStatFormat.Data();}
Float_t GetStatX() const
{return fStatX;}
Float_t GetStatY() const
{return fStatY;}
Float_t GetStatW() const
{return fStatW;}
Float_t GetStatH() const
{return fStatH;}
Int_t GetStripDecimals() const
{return fStripDecimals;}
Double_t GetTimeOffset() const
{return fTimeOffset;}
Int_t GetTitleAlign()
{return fTitleAlign;}
Color_t GetTitleFillColor() const
{return fTitleColor;}
Color_t GetTitleTextColor() const
{return fTitleTextColor;}
Style_t GetTitleStyle() const
{return fTitleStyle;}
Float_t GetTitleFontSize() const
{return fTitleFontSize;}
Width_t GetTitleBorderSize() const
Float_t GetTitleXOffset() const
{return GetTitleOffset("X");}
Float_t GetTitleXSize() const
{return GetTitleSize("X");}
Float_t GetTitleYOffset() const
{return GetTitleOffset("Y");}
Float_t GetTitleYSize() const
{return GetTitleSize("Y");}
Float_t GetTitleX() const
{return fTitleX;}
Float_t GetTitleY() const
{return fTitleY;}
Float_t GetTitleW() const
{return fTitleW;}
Float_t GetTitleH() const
{return fTitleH;}
const char * GetHeaderPS() const
{return fHeaderPS.Data();}
const char * GetTitlePS() const
{return fTitlePS.Data();}
Float_t GetLineScalePS() const
{return fLineScalePS;}
Bool_t IsReading() const
{return fIsReading;}
void SetFitFormat(const char* format = "5.4g")
{fFitFormat = format;}
void SetHatchesLineWidth(Int_t l)
void SetHatchesSpacing(Double_t h)
void SetLineScalePS(Float_t scale = 3)
void SetLegoInnerR(Float_t rad = 0.5)
{fLegoInnerR = rad;}
void SetScreenFactor(Float_t factor = 1)
{fScreenFactor = factor;}
void SetOptFile(Int_t file = 1)
{fOptFile = file;}
void SetOptLogx(Int_t logx = 1)
{fOptLogx = logx;}
void SetOptLogy(Int_t logy = 1)
{fOptLogy = logy;}
void SetOptLogz(Int_t logz = 1)
{fOptLogz = logz;}
void SetOptTitle(Int_t tit = 1)
{fOptTitle = tit;}
void SetBarOffset(Float_t baroff = 0.5)
{fBarOffset = baroff;}
void SetBarWidth(Float_t barwidth = 0.5)
{fBarWidth = barwidth;}
void SetDateX(Float_t x = 0.01)
{fDateX = x;}
void SetDateY(Float_t y = 0.01)
{fDateY = y;}
void SetErrorX(Float_t errorx = 0.5)
{fErrorX = errorx;}
void SetCanvasPreferGL(Bool_t prefer = kTRUE)
void SetDrawBorder(Int_t drawborder = 1)
{fDrawBorder = drawborder;}
void SetCanvasColor(Color_t color = 19)
{fCanvasColor = color;}
void SetCanvasBorderSize(Width_t size = 1)
void SetCanvasBorderMode(Int_t mode = 1)
void SetCanvasDefH(Int_t h = 500)
void SetCanvasDefW(Int_t w = 700)
void SetCanvasDefX(Int_t topx = 10)
{fCanvasDefX = topx;}
void SetCanvasDefY(Int_t topy = 10)
{fCanvasDefY = topy;}
void SetLegendBorderSize(Width_t size = 4)
void SetLegendFillColor(Color_t color = 0)
{fLegendFillColor = color;}
void SetLegendFont(Style_t font = 62)
{fLegendFont = font;}
void SetLegendTextSize(Double_t size = 0.)
{fLegendTextSize = size;}
void SetPadColor(Color_t color = 19)
{fPadColor = color;}
void SetPadBorderSize(Width_t size = 1)
{fPadBorderSize = size;}
void SetPadBorderMode(Int_t mode = 1)
{fPadBorderMode = mode;}
void SetPadBottomMargin(Float_t margin = 0.10000000000000001)
void SetPadTopMargin(Float_t margin = 0.10000000000000001)
void SetPadLeftMargin(Float_t margin = 0.10000000000000001)
void SetPadRightMargin(Float_t margin = 0.10000000000000001)
void SetPadGridX(Bool_t gridx)
{fPadGridX = gridx;}
void SetPadGridY(Bool_t gridy)
{fPadGridY = gridy;}
void SetPadTickX(Int_t tickx)
{fPadTickX = tickx;}
void SetPadTickY(Int_t ticky)
{fPadTickY = ticky;}
void SetFuncStyle(Style_t style = 1)
{fFuncStyle = style;}
void SetFuncColor(Color_t color = 1)
{fFuncColor = color;}
void SetFuncWidth(Width_t width = 4)
{fFuncWidth = width;}
void SetGridStyle(Style_t style = 3)
{fGridStyle = style;}
void SetGridColor(Color_t color = 0)
{fGridColor = color;}
void SetGridWidth(Width_t width = 1)
{fGridWidth = width;}
void SetFrameFillColor(Color_t color = 1)
{fFrameFillColor = color;}
void SetFrameLineColor(Color_t color = 1)
{fFrameLineColor = color;}
void SetFrameFillStyle(Style_t styl = 0)
{fFrameFillStyle = styl;}
void SetFrameLineStyle(Style_t styl = 0)
{fFrameLineStyle = styl;}
void SetFrameLineWidth(Width_t width = 1)
{fFrameLineWidth = width;}
void SetFrameBorderSize(Width_t size = 1)
void SetFrameBorderMode(Int_t mode = 1)
void SetHistFillColor(Color_t color = 1)
{fHistFillColor = color;}
void SetHistLineColor(Color_t color = 1)
{fHistLineColor = color;}
void SetHistFillStyle(Style_t styl = 0)
{fHistFillStyle = styl;}
void SetHistLineStyle(Style_t styl = 0)
{fHistLineStyle = styl;}
void SetHistLineWidth(Width_t width = 1)
{fHistLineWidth = width;}
void SetHistTopMargin(Double_t hmax = 0.050000000000000003)
{fHistTopMargin = hmax;}
void SetPaintTextFormat(const char* format = "g")
{fPaintTextFormat = format;}
void SetStatColor(Color_t color = 19)
void SetStatTextColor(Color_t color = 1)
void SetStatStyle(Style_t style = 1001)
void SetStatBorderSize(Width_t size = 2)
void SetStatFont(Style_t font = 62)
void SetStatFontSize(Float_t size = 0)
void SetStatFormat(const char* format = "6.4g")
{fStatFormat = format;}
void SetStatX(Float_t x = 0)
void SetStatY(Float_t y = 0)
void SetStatW(Float_t w = 0.19)
void SetStatH(Float_t h = 0.10000000000000001)
void SetTitleAlign(Int_t a = 13)
void SetTitleFillColor(Color_t color = 1)
void SetTitleTextColor(Color_t color = 1)
void SetTitleStyle(Style_t style = 1001)
void SetTitleFontSize(Float_t size = 0)
void SetTitleBorderSize(Width_t size = 2)
void SetTitleXOffset(Float_t offset = 1)
void SetTitleXSize(Float_t size = 0.02)
void SetTitleYOffset(Float_t offset = 1)
void SetTitleYSize(Float_t size = 0.02)
void SetTitleX(Float_t x = 0)
void SetTitleY(Float_t y = 0.98499999999999998)
void SetTitleW(Float_t w = 0)
void SetTitleH(Float_t h = 0)
void ToggleEventStatus()
void ToggleEditor()
{ fShowEditor = fShowEditor ? 0 : 1; }
void ToggleToolBar()
{ fShowToolBar = fShowToolBar ? 0 : 1; }