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