int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
TAxis helper class used to store the modified labels.
Class to manage histogram axis.
virtual void SetNoExponent(Bool_t noExponent=kTRUE)
void SetLabelColor(TColorNumber lcolor)
static Int_t GetMaxDigits()
void SetTimeFormat(const char *tformat)
void SetTitleOffset(Float_t titleoffset=1)
void ChangeLabelAttributes(Int_t i, Int_t nlabels, TLatex *t, char *c, Double_t value=0., Double_t eps=-1.)
Float_t fTitleSize
Size of title in NDC.
Float_t GetGridLength() const
void SetLabelFont(Int_t labelfont)
void SetTitleSize(Float_t titlesize)
virtual void PaintAxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t &wmin, Double_t &wmax, Int_t &ndiv, Option_t *chopt="", Double_t gridlength=0, Bool_t drawGridOnly=kFALSE)
Float_t fTitleOffset
Offset of title wrt axis.
const char * GetOption() const override
TString fTitle
Axis title.
Int_t fLabelFont
Font for labels.
void SetTitleFont(Int_t titlefont)
TAxisModLab * FindModLab(Int_t indx, Int_t numlabels=0, Double_t v=0., Double_t eps=-1.) const
Int_t fLabelColor
Color for labels.
TAxis * fAxis
! Pointer to original TAxis axis (if any)
TString fTimeFormat
Time format, ex: 09/12/99 12:34:00.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a primitive as a C++ statement(s) on output stream "out".
TString fFunctionName
Name of mapping function pointed by fFunction.
virtual void SetDecimals(Bool_t dot=kTRUE)
void SetLabelOffset(Float_t labeloffset)
Float_t GetLabelOffset() const
virtual void ImportAxisAttributes(TAxis *axis)
void SetTimeOffset(Double_t toffset, Option_t *option="local")
Float_t fTickSize
Size of primary tick mark in NDC.
void ChangeLabelByValue(Double_t labValue, Double_t labAngle=-1., Double_t labSize=-1., Int_t labAlign=-1, Int_t labColor=-1, Int_t labFont=-1, const TString &labText="")
TF1 * GetFunction() const
Int_t GetLabelFont() const
Float_t fLabelOffset
Offset of label wrt axis.
Float_t fLabelSize
Size of labels in NDC.
Int_t fNdiv
Number of divisions.
void SetGridLength(Float_t gridlength)
const char * GetTitle() const override
Returns title of object.
TString fChopt
Axis options.
TGaxis & operator=(const TGaxis &)
Float_t GetTitleOffset() const
TF1 * fFunction
! Pointer to function computing axis values
TGaxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
virtual void SetNdivisions(Int_t ndiv)
void SetWmax(Double_t wmax)
Float_t GetTitleSize() const
virtual void CenterLabels(Bool_t center=kTRUE)
const char * GetName() const override
Returns name of object.
void SetLabelColor(Int_t labelcolor)
void SetTickLength(Float_t ticklength)
virtual void CenterTitle(Bool_t center=kTRUE)
Float_t fGridLength
Length of the grid in NDC.
virtual void SetName(const char *name)
Int_t GetLabelColor() const
void SetTitleColor(Int_t titlecolor)
virtual void SetMoreLogLabels(Bool_t more=kTRUE)
TList * fModLabs
List of modified labels.
void ChangeLabel(Int_t labNum=0, Double_t labAngle=-1., Double_t labSize=-1., Int_t labAlign=-1, Int_t labColor=-1, Int_t labFont=-1, const TString &labText="")
Double_t fWmax
Highest value on the axis.
Float_t GetTickSize() const
void SetWmin(Double_t wmin)
void SetTickSize(Float_t ticksize)
void Paint(Option_t *chopt="") override
This method must be overridden if a class wants to paint itself.
Int_t fNModLabs
Number of modified labels.
virtual void Rotate(Double_t X, Double_t Y, Double_t CFI, Double_t SFI, Double_t XT, Double_t YT, Double_t &U, Double_t &V)
Double_t fWmin
Lowest value on the axis.
void SetLabelSize(Float_t labelsize)
void SetFunction(const char *funcname="")
virtual void AdjustBinSize(Double_t A1, Double_t A2, Int_t nold, Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BinWidth)
virtual void SetTitle(const char *title="")
static void SetMaxDigits(Int_t maxd=5)
void LabelsLimits(const char *label, Int_t &first, Int_t &last)
Bool_t IsOwnedModLabs() const
void ResetLabelAttributes(TLatex *t)
Float_t GetLabelSize() const
static void SetExponentOffset(Float_t xoff=0., Float_t yoff=0., Option_t *axis="xy")
virtual TGaxis * DrawAxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
void SetOption(Option_t *option="")
TGaxis(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *funcname, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)