TStyle
class description - source file - inheritance tree
public:
TStyle(const char* name, const char* title)
TStyle(const TStyle& style)
TStyle()
virtual ~TStyle()
Int_t AxisChoice(Option_t* axis) const
virtual void Browse(TBrowser* b)
static void BuildStyles()
virtual void cd()
static TClass* Class()
virtual void Copy(TObject& style) const
static Int_t CreateGradientColorTable(UInt_t Number, Double_t* Length, Double_t* Red, Double_t* Green, Double_t* Blue, UInt_t NColors)
TAttText* GetAttDate()
Color_t GetAxisColor(Option_t* axis = "X") const
Float_t GetBarOffset() const
Float_t GetBarWidth() const
Int_t GetCanvasBorderMode() const
Width_t GetCanvasBorderSize() const
Color_t GetCanvasColor() const
Int_t GetCanvasDefH() const
Int_t GetCanvasDefW() const
Int_t GetCanvasDefX() const
Int_t GetCanvasDefY() const
Int_t GetColorPalette(Int_t i) const
Float_t GetDateX() const
Float_t GetDateY() const
Int_t GetDrawBorder() const
Float_t GetEndErrorSize() const
Int_t GetErrorMarker() const
Float_t GetErrorX() const
const char* GetFitFormat() const
Int_t GetFrameBorderMode() const
Width_t GetFrameBorderSize() const
Color_t GetFrameFillColor() const
Style_t GetFrameFillStyle() const
Color_t GetFrameLineColor() const
Style_t GetFrameLineStyle() const
Width_t GetFrameLineWidth() const
Color_t GetFuncColor() const
Style_t GetFuncStyle() const
Width_t GetFuncWidth() const
Color_t GetGridColor() const
Style_t GetGridStyle() const
Width_t GetGridWidth() const
const char* GetHeaderPS() const
Color_t GetHistFillColor() const
Style_t GetHistFillStyle() const
Color_t GetHistLineColor() const
Style_t GetHistLineStyle() const
Width_t GetHistLineWidth() const
Color_t GetLabelColor(Option_t* axis = "X") const
Style_t GetLabelFont(Option_t* axis = "X") const
Float_t GetLabelOffset(Option_t* axis = "X") const
Float_t GetLabelSize(Option_t* axis = "X") const
Float_t GetLegoInnerR() const
Float_t GetLineScalePS() const
const char* GetLineStyleString(Int_t i = 1) const
Int_t GetNdivisions(Option_t* axis = "X") const
Int_t GetNumberContours() const
Int_t GetNumberOfColors() const
Int_t GetOptDate() const
Int_t GetOptFile() const
Int_t GetOptFit() const
Int_t GetOptLogx() const
Int_t GetOptLogy() const
Int_t GetOptLogz() const
Int_t GetOptStat() const
Int_t GetOptTitle() const
Int_t GetPadBorderMode() const
Width_t GetPadBorderSize() const
Float_t GetPadBottomMargin() const
Color_t GetPadColor() const
Bool_t GetPadGridX() const
Bool_t GetPadGridY() const
Float_t GetPadLeftMargin() const
Float_t GetPadRightMargin() const
Int_t GetPadTickX() const
Int_t GetPadTickY() const
Float_t GetPadTopMargin() const
const char* GetPaintTextFormat() const
void GetPaperSize(Float_t& xsize, Float_t& ysize)
Float_t GetScreenFactor() const
Int_t GetShowEventStatus() const
Width_t GetStatBorderSize() const
Color_t GetStatColor() const
Style_t GetStatFont() const
Float_t GetStatFontSize() const
const char* GetStatFormat() const
Float_t GetStatH() const
Style_t GetStatStyle() const
Color_t GetStatTextColor() const
Float_t GetStatW() const
Float_t GetStatX() const
Float_t GetStatY() const
Int_t GetStripDecimals() const
Float_t GetTickLength(Option_t* axis = "X") const
Double_t GetTimeOffset() const
Width_t GetTitleBorderSize() const
Color_t GetTitleColor(Option_t* axis = "X") const
Color_t GetTitleFillColor() const
Style_t GetTitleFont(Option_t* axis = "X") const
Float_t GetTitleFontSize() const
Float_t GetTitleH() const
Float_t GetTitleOffset(Option_t* axis = "X") const
const char* GetTitlePS() const
Float_t GetTitleSize(Option_t* axis = "X") const
Style_t GetTitleStyle() const
Color_t GetTitleTextColor() const
Float_t GetTitleW() const
Float_t GetTitleX() const
Float_t GetTitleXOffset() const
Float_t GetTitleXSize() const
Float_t GetTitleY() const
Float_t GetTitleYOffset() const
Float_t GetTitleYSize() const
virtual TClass* IsA() const
virtual void Reset(Option_t* option)
void SetAxisColor(Color_t color = 1, Option_t* axis = "X")
void SetBarOffset(Float_t baroff = 0.5)
void SetBarWidth(Float_t barwidth = 0.5)
void SetCanvasBorderMode(Int_t mode = 1)
void SetCanvasBorderSize(Width_t size = 1)
void SetCanvasColor(Color_t color = 19)
void SetCanvasDefH(Int_t h = 500)
void SetCanvasDefW(Int_t w = 700)
void SetCanvasDefX(Int_t topx = 10)
void SetCanvasDefY(Int_t topy = 10)
void SetDateX(Float_t x = 0.01)
void SetDateY(Float_t y = 0.01)
void SetDrawBorder(Int_t drawborder = 1)
void SetEndErrorSize(Float_t np = 2)
void SetErrorMarker(Int_t marker = 21)
void SetErrorX(Float_t errorx = 0.5)
void SetFitFormat(const char* format = "5.4g")
void SetFrameBorderMode(Int_t mode = 1)
void SetFrameBorderSize(Width_t size = 1)
void SetFrameFillColor(Color_t color = 1)
void SetFrameFillStyle(Style_t styl = 0)
void SetFrameLineColor(Color_t color = 1)
void SetFrameLineStyle(Style_t styl = 0)
void SetFrameLineWidth(Width_t width = 1)
void SetFuncColor(Color_t color = 1)
void SetFuncStyle(Style_t style = 1)
void SetFuncWidth(Width_t width = 4)
void SetGridColor(Color_t color = 0)
void SetGridStyle(Style_t style = 3)
void SetGridWidth(Width_t width = 1)
void SetHeaderPS(const char* header)
void SetHistFillColor(Color_t color = 1)
void SetHistFillStyle(Style_t styl = 0)
void SetHistLineColor(Color_t color = 1)
void SetHistLineStyle(Style_t styl = 0)
void SetHistLineWidth(Width_t width = 1)
void SetLabelColor(Color_t color = 1, Option_t* axis = "X")
void SetLabelFont(Style_t font = 62, Option_t* axis = "X")
void SetLabelOffset(Float_t offset = 0.005, Option_t* axis = "X")
void SetLabelSize(Float_t size = 0.04, Option_t* axis = "X")
void SetLegoInnerR(Float_t rad = 0.5)
void SetLineScalePS(Float_t scale = 3)
void SetLineStyleString(Int_t i, const char* text)
void SetNdivisions(Int_t n = 510, Option_t* axis = "X")
void SetNumberContours(Int_t number = 20)
void SetOptDate(Int_t datefl = 1)
void SetOptFile(Int_t file = 1)
void SetOptFit(Int_t fit = 1)
void SetOptLogx(Int_t logx = 1)
void SetOptLogy(Int_t logy = 1)
void SetOptLogz(Int_t logz = 1)
void SetOptStat(Option_t* stat)
void SetOptStat(Int_t stat = 1)
void SetOptTitle(Int_t tit = 1)
void SetPadBorderMode(Int_t mode = 1)
void SetPadBorderSize(Width_t size = 1)
void SetPadBottomMargin(Float_t margin = 0.1)
void SetPadColor(Color_t color = 19)
void SetPadGridX(Bool_t gridx)
void SetPadGridY(Bool_t gridy)
void SetPadLeftMargin(Float_t margin = 0.1)
void SetPadRightMargin(Float_t margin = 0.1)
void SetPadTickX(Int_t tickx)
void SetPadTickY(Int_t ticky)
void SetPadTopMargin(Float_t margin = 0.1)
void SetPaintTextFormat(const char* format = "g")
void SetPalette(Int_t ncolors = 0, Int_t* colors = 0)
void SetPaperSize(TStyle::EPaperSize size)
void SetPaperSize(Float_t xsize = 20, Float_t ysize = 26)
void SetScreenFactor(Float_t factor = 1)
void SetStatBorderSize(Width_t size = 2)
void SetStatColor(Int_t color = 19)
void SetStatFont(Style_t font = 62)
void SetStatFontSize(Float_t size = 0)
void SetStatFormat(const char* format = "6.4g")
void SetStatH(Float_t h = 0.1)
void SetStatStyle(Style_t style = 1001)
void SetStatTextColor(Int_t color = 1)
void SetStatW(Float_t w = 0.19)
void SetStatX(Float_t x = 0)
void SetStatY(Float_t y = 0)
void SetStripDecimals(Bool_t strip = kTRUE)
void SetTickLength(Float_t length = 0.03, Option_t* axis = "X")
void SetTimeOffset(Double_t toffset)
void SetTitleBorderSize(Width_t size = 2)
void SetTitleColor(Color_t color = 1, Option_t* axis = "X")
void SetTitleFillColor(Color_t color = 1)
void SetTitleFont(Style_t font = 62, Option_t* axis = "X")
void SetTitleFontSize(Float_t size = 0)
void SetTitleH(Float_t h = 0)
void SetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
void SetTitlePS(const char* pstitle)
void SetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
void SetTitleStyle(Style_t style = 1001)
void SetTitleTextColor(Color_t color = 1)
void SetTitleW(Float_t w = 0)
void SetTitleX(Float_t x = 0)
void SetTitleXOffset(Float_t offset = 1)
void SetTitleXSize(Float_t size = 0.02)
void SetTitleY(Float_t y = 0.985)
void SetTitleYOffset(Float_t offset = 1)
void SetTitleYSize(Float_t size = 0.02)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void ToggleEventStatus()
private:
TAttAxis fXaxis X axis attributes
TAttAxis fYaxis Y axis attributes
TAttAxis fZaxis Z axis attributes
Float_t fBarWidth width of bar for graphs
Float_t fBarOffset offset of bar for graphs
Int_t fDrawBorder flag to draw border(=1) or not (0)
Int_t fOptLogx =1 if log scale in X
Int_t fOptLogy =1 if log scale in y
Int_t fOptLogz =1 if log scale in z
Int_t fOptDate =1 if date option is selected
Int_t fOptStat =1 if option Stat is selected
Int_t fOptTitle =1 if option Title is selected
Int_t fOptFile =1 if option File is selected
Int_t fOptFit =1 if option Fit is selected
Int_t fErrorMarker marker for error bars
Int_t fShowEventStatus Show event status panel
Int_t fNumberContours default number of contours for 2-d plots
TAttText fAttDate canvas date attribute
Float_t fDateX X position of the date in the canvas (in NDC)
Float_t fDateY Y position of the date in the canvas (in NDC)
Float_t fEndErrorSize Size of lines at the end of error bars
Float_t fErrorX per cent of bin width for errors along X
Color_t fFuncColor function color
Style_t fFuncStyle function style
Width_t fFuncWidth function line width
Color_t fGridColor grid line color (if 0 use axis line color)
Style_t fGridStyle grid line style
Width_t fGridWidth grid line width
Color_t fFrameFillColor pad frame fill color
Color_t fFrameLineColor pad frame line color
Style_t fFrameFillStyle pad frame fill style
Style_t fFrameLineStyle pad frame line style
Width_t fFrameLineWidth pad frame line width
Width_t fFrameBorderSize pad frame border size
Int_t fFrameBorderMode pad frame border mode
Color_t fHistFillColor histogram fill color
Color_t fHistLineColor histogram line color
Style_t fHistFillStyle histogram fill style
Style_t fHistLineStyle histogram line style
Width_t fHistLineWidth histogram line width
Color_t fCanvasColor canvas color
Width_t fCanvasBorderSize canvas border size
Int_t fCanvasBorderMode canvas border mode
Int_t fCanvasDefH default canvas height
Int_t fCanvasDefW default canvas width
Int_t fCanvasDefX default canvas top X position
Int_t fCanvasDefY default canvas top Y position
Color_t fPadColor pad color
Width_t fPadBorderSize pad border size
Int_t fPadBorderMode pad border mode
Float_t fPadBottomMargin pad bottom margin
Float_t fPadTopMargin pad top margin
Float_t fPadLeftMargin pad left margin
Float_t fPadRightMargin pad right margin
Bool_t fPadGridX true to get the grid along X
Bool_t fPadGridY true to get the grid along Y
Int_t fPadTickX =1 to set special pad ticks along X
Int_t fPadTickY =1 to set special pad ticks along Y
Float_t fPaperSizeX PostScript paper size along X
Float_t fPaperSizeY PostScript paper size along Y
Float_t fScreenFactor Multiplication factor for canvas size and position
Color_t fStatColor stat fill area color
Color_t fStatTextColor stat text color
Width_t fStatBorderSize border size of Stats PaveLabel
Style_t fStatFont font style of Stats PaveLabel
Float_t fStatFontSize font size in pixels for fonts with precision type 3
Style_t fStatStyle fill area style of Stats PaveLabel
TString fStatFormat Printing format for stats
Float_t fStatX X position of top right corner of stat box
Float_t fStatY Y position of top right corner of stat box
Float_t fStatW width of stat box
Float_t fStatH height of stat box
Bool_t fStripDecimals Strip decimals in axis labels
Color_t fTitleColor title fill area color
Color_t fTitleTextColor title text color
Width_t fTitleBorderSize border size of Title PavelLabel
Style_t fTitleFont font style of Title PaveLabel
Float_t fTitleFontSize font size in pixels for fonts with precision type 3
Style_t fTitleStyle fill area style of title PaveLabel
Float_t fTitleX X position of top left corner of title box
Float_t fTitleY Y position of top left corner of title box
Float_t fTitleW width of title box
Float_t fTitleH height of title box
Float_t fLegoInnerR Inner radius for cylindrical legos
TArrayI fPalette Color palette
TString fLineStyle[30] String describing line style i (for postScript)
TString fHeaderPS User defined additional Postscript header
TString fTitlePS User defined Postscript file title
TString fFitFormat Printing format for fit parameters
TString fPaintTextFormat Printing format for TH2::PaintText
Float_t fLineScalePS Line scale factor when drawing lines on Postscript
Double_t fTimeOffset Time offset to the beginning of an axis
public:
static const TStyle::EPaperSize kA4
static const TStyle::EPaperSize kUSLetter
Last update: Fri May 14 13:32:44 2004
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.