114 out<<
" "<<name<<subname<<
"->SetNdivisions("<<
fNdivisions<<
");"<<std::endl;
119 out<<
" "<<name<<subname<<
"->SetAxisColor(ci);" << std::endl;
121 out<<
" "<<name<<subname<<
"->SetAxisColor("<<
fAxisColor<<
");"<<std::endl;
126 out<<
" "<<name<<subname<<
"->SetLabelColor(ci);" << std::endl;
128 out<<
" "<<name<<subname<<
"->SetLabelColor("<<
fLabelColor<<
");"<<std::endl;
131 out<<
" "<<name<<subname<<
"->SetLabelFont("<<
fLabelFont<<
");"<<std::endl;
134 out<<
" "<<name<<subname<<
"->SetLabelOffset("<<
fLabelOffset<<
");"<<std::endl;
137 out<<
" "<<name<<subname<<
"->SetLabelSize("<<
fLabelSize<<
");"<<std::endl;
140 out<<
" "<<name<<subname<<
"->SetTitleSize("<<
fTitleSize<<
");"<<std::endl;
143 out<<
" "<<name<<subname<<
"->SetTickLength("<<
fTickLength<<
");"<<std::endl;
146 out<<
" "<<name<<subname<<
"->SetTitleOffset("<<
fTitleOffset<<
");"<<std::endl;
151 out<<
" "<<name<<subname<<
"->SetTitleColor(ci);" << std::endl;
153 out<<
" "<<name<<subname<<
"->SetTitleColor("<<
fTitleColor<<
");"<<std::endl;
156 out<<
" "<<name<<subname<<
"->SetTitleFont("<<
fTitleFont<<
");"<<std::endl;
231 Int_t ndiv = (n%1000000);
232 Bool_t isOptimized = optim && (ndiv>0);
234 fNdivisions = abs(ndiv) + current_maxDigits*1000000;
268 Int_t current_maxDigits = absDiv/1000000;
269 Int_t current_Ndivisions = absDiv - (current_maxDigits*1000000);
270 fNdivisions = (current_Ndivisions + (maxDigits*1000000));
331 void TAttAxis::Streamer(
TBuffer &R__b)
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...
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
Color_t fAxisColor
Color of the line axis.
Float_t fLabelOffset
Offset of labels.
Style_t fLabelFont
Font for labels.
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
Float_t fLabelSize
Size of labels.
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.
virtual void ResetAttAxis(Option_t *option="")
Reset axis attributes.
R__EXTERN TStyle * gStyle
static void SaveColor(std::ostream &out, Int_t ci)
Save a color with index > 228 as a C++ statement(s) on output stream out.
Int_t fNdivisions
Number of divisions(10000*n3 + 100*n2 + n1)
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
Buffer base class used for serializing objects.
virtual void SetMaxDigits(Int_t maxDigits=5)
This function sets the maximum number of digits permitted for the axis labels above which the notatio...
virtual void SetTitleFont(Style_t font=62)
Set the title font.
Manages histogram axis attributes.
Float_t fTitleSize
Size of axis title.
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...
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
virtual void SetLabelFont(Style_t font=62)
Set labels' font.
Style_t fTitleFont
Font for axis title.
virtual Int_t GetVersionOwner() const =0
Color_t fLabelColor
Color of labels.
virtual ~TAttAxis()
Destructor.
void Copy(TAttAxis &attaxis) const
Copy of the object.
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 SetTitleColor(Color_t color=1)
Set color of axis title.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title The size is expressed in per cent of the pad width.
static Int_t GetColorTransparent(Int_t color, Float_t a)
Static function: Returns the transparent color number corresponding to n.
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
virtual void SaveAttributes(std::ostream &out, const char *name, const char *subname)
Save axis attributes as C++ statement(s) on output stream out.
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Float_t fTickLength
Length of tick marks.
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length The length is expressed in per cent of the pad width.
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
Color_t fTitleColor
Color of axis title.
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
Float_t fTitleOffset
Offset of axis title.