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;
240 Bool_t isOptimized = optim && (ndiv>0);
242 fNdivisions = abs(ndiv) + current_maxDigits*1000000;
276 Int_t current_maxDigits = absDiv/1000000;
277 Int_t current_Ndivisions = absDiv - (current_maxDigits*1000000);
278 fNdivisions = (current_Ndivisions + (maxDigits*1000000));
339void TAttAxis::Streamer(
TBuffer &R__b)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
R__EXTERN TStyle * gStyle
Manages histogram axis attributes.
Color_t fAxisColor
Color of the line axis.
Int_t fNdivisions
Number of divisions(10000*n3 + 100*n2 + n1)
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
Style_t fTitleFont
Font for axis title.
virtual void SetAxisColor(Color_t color=1, Float_t alpha=1.)
Set color of the line axis and tick marks.
Float_t fTitleSize
Size of axis title.
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
Float_t fTitleOffset
Offset of axis title.
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.
Float_t fTickLength
Length of tick marks.
virtual void SetLabelFont(Style_t font=62)
Set labels' font.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title.
virtual void SaveAttributes(std::ostream &out, const char *name, const char *subname)
Save axis attributes as C++ statement(s) on output stream out.
virtual void SetTitleColor(Color_t color=1)
Set color of axis title.
Float_t fLabelSize
Size of labels.
virtual ~TAttAxis()
Destructor.
virtual void SetMaxDigits(Int_t maxDigits=5)
This function sets the maximum number of digits permitted for the axis labels above which the notatio...
Style_t fLabelFont
Font for labels.
Color_t fLabelColor
Color of labels.
virtual void ResetAttAxis(Option_t *option="")
Reset axis attributes.
Color_t fTitleColor
Color of axis title.
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.
void Copy(TAttAxis &attaxis) const
Copy of the object.
Float_t fLabelOffset
Offset of labels.
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
Buffer base class used for serializing objects.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
virtual Int_t GetVersionOwner() const =0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
static void SaveColor(std::ostream &out, Int_t ci)
Save a color with index > 228 as a C++ statement(s) on output stream out.
static Int_t GetColorTransparent(Int_t color, Float_t a)
Static function: Returns the transparent color number corresponding to n.
Color_t GetLabelColor(Option_t *axis="X") const
Return the label color number in the axis.
Int_t GetNdivisions(Option_t *axis="X") const
Return number of divisions.
Color_t GetTitleColor(Option_t *axis="X") const
Return title color.
Float_t GetLabelSize(Option_t *axis="X") const
Return label size.
Float_t GetTickLength(Option_t *axis="X") const
Return tick length.
Float_t GetTitleSize(Option_t *axis="X") const
Return title size.
Style_t GetLabelFont(Option_t *axis="X") const
Return label font.
Float_t GetTitleOffset(Option_t *axis="X") const
Return title offset.
Style_t GetTitleFont(Option_t *axis="X") const
Return title font.
Float_t GetLabelOffset(Option_t *axis="X") const
Return label offset.
Color_t GetAxisColor(Option_t *axis="X") const
Return the axis color number in the axis.