16 char achoice = toupper(axis[0]);
17 if (achoice ==
'X')
return 1;
18 if (achoice ==
'Y')
return 2;
19 if (achoice ==
'Z')
return 3;
206 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 Color_t GetAxisColor() const
virtual Float_t GetTickLength(Option_t *axis="X") const
Return the "axis" tick length.
virtual Color_t GetLabelColor() const
virtual void SetTitleFont(Style_t font=62, Option_t *axis="X")
The the axis' title font.
Int_t AxisChoice(Option_t *axis) const
Choose an axis according to "axis".
virtual void SetMaximum(Double_t maximum=-1111)
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 Float_t GetLabelOffset(Option_t *axis="X") const
Return the "axis" label offset.
virtual Color_t GetAxisColor(Option_t *axis="X") const
Return the number of divisions for "axis".
virtual void SetTitleFont(Style_t font=62)
Set the title font.
void ToLower()
Change string to lower-case.
virtual Style_t GetTitleFont() const
virtual Float_t GetLabelSize(Option_t *axis="X") const
Return the "axis" label size.
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Set the "axis" range.
virtual Float_t GetTitleSize() const
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 void SetLabelFont(Style_t font=62, Option_t *axis="X")
Set font number used to draw axis labels.
virtual Float_t GetTitleOffset() const
virtual void SetAxisColor(Color_t color=1, Option_t *axis="X")
Set color to draw the axis line and tick marks.
virtual void SetRange(Int_t first=0, Int_t last=0)
Set the viewing range for the axis from bin first to last.
virtual Int_t GetNdivisions(Option_t *axis="X") const
Return the number of divisions for "axis".
Double_t length(const TVector2 &v)
Class to manage histogram axis.
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 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")
The the axis' title size.
virtual Style_t GetLabelFont() const
virtual Int_t GetNdivisions() const
virtual void SetTickLength(Float_t length=0.02, Option_t *axis="X")
Set the axis' tick marks length.
virtual Float_t GetLabelSize() const
virtual Int_t FindFixBin(Double_t x) const
Find bin number corresponding to abscissa x.
virtual Float_t GetTitleSize(Option_t *axis="X") const
Return the "axis" title size.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
Int_t fDimension
Pointer to directory holding this histogram.
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length The length is expressed in per cent of the pad width.
virtual Style_t GetLabelFont(Option_t *axis="X") const
Return the "axis" label font.
virtual Style_t GetTitleFont(Option_t *axis="X") const
Return the "axis" title font.
virtual Float_t GetTickLength() const
virtual Float_t GetTitleOffset(Option_t *axis="X") const
Return the "axis" title offset.
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 Float_t GetLabelOffset() const
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...