16 char achoice = toupper(axis[0]);
17 if (achoice ==
'X')
return 1;
18 if (achoice ==
'Y')
return 2;
19 if (achoice ==
'Z')
return 3;
208 if (!theAxis)
return;
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual Style_t GetLabelFont(Option_t *axis="X") const
Return the "axis" label font.
virtual Float_t GetTickLength() const
virtual void SetTitleFont(Style_t font=62, Option_t *axis="X")
Set the axis' title font.
virtual void SetMaximum(Double_t maximum=-1111)
virtual Float_t GetLabelOffset() const
TAxis fYaxis
Y axis descriptor.
virtual Color_t GetAxisColor() const
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
virtual void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
virtual void SetMinimum(Double_t minimum=-1111)
virtual void SetLabelSize(Float_t size=0.02, Option_t *axis="X")
Set size of axis' labels.
virtual void SetTitleFont(Style_t font=62)
Set the title font.
void ToLower()
Change string to lower-case.
virtual Style_t GetTitleFont(Option_t *axis="X") const
Return the "axis" title font.
virtual Int_t GetNdivisions(Option_t *axis="X") const
Return the number of divisions for "axis".
virtual Color_t GetAxisColor(Option_t *axis="X") const
Return the number of divisions for "axis".
virtual Float_t GetLabelSize() const
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
TAxis fZaxis
Z axis descriptor.
virtual void SetLabelOffset(Float_t offset=0.005)
Set distance between the axis and the labels The distance is expressed in per cent of the pad width...
virtual void SetLabelFont(Style_t font=62)
Set labels' font.
virtual Style_t GetTitleFont() const
virtual Float_t GetTitleOffset(Option_t *axis="X") const
Return the "axis" title offset.
virtual Float_t GetLabelOffset(Option_t *axis="X") const
Return the "axis" label offset.
virtual void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
Int_t AxisChoice(Option_t *axis) const
Choose an axis according to "axis".
virtual Color_t GetLabelColor() const
virtual void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
virtual Int_t GetNdivisions() const
virtual void SetRange(Int_t first=0, Int_t last=0)
Set the viewing range for the axis from bin first to last.
Class to manage histogram axis.
virtual Float_t GetTitleSize(Option_t *axis="X") const
Return the "axis" title size.
virtual Float_t GetTitleOffset() 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 The size is expressed in per cent of the pad width.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title The size is expressed in per cent of the pad width.
virtual void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
Set the axis' title size.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual Float_t GetTitleSize() const
virtual Color_t GetLabelColor(Option_t *axis="X") const
Return the "axis" label color.
virtual Float_t GetTickLength(Option_t *axis="X") const
Return the "axis" tick length.
virtual void SetTickLength(Float_t length=0.02, Option_t *axis="X")
Set the axis' tick marks length.
virtual Int_t FindFixBin(Double_t x) const
Find bin number corresponding to abscissa x.
Int_t fDimension
!Histogram dimension (1, 2 or 3 dim)
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length The length is expressed in per cent of the pad width.
TAxis fXaxis
X axis descriptor.
virtual Float_t GetLabelSize(Option_t *axis="X") const
Return the "axis" label size.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual Style_t GetLabelFont() const
virtual void SetLabelColor(Color_t color=1, Option_t *axis="X")
Set axis labels color.
virtual void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis' labels.
virtual 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...