114 out<<
" "<<
name<<subname<<
"->SetNdivisions("<<
fNdivisions<<
");"<<std::endl;
118 out<<
" "<<
name<<subname<<
"->SetAxisColor(ci);" << std::endl;
120 out<<
" "<<
name<<subname<<
"->SetAxisColor("<<
fAxisColor<<
");"<<std::endl;
124 out<<
" "<<
name<<subname<<
"->SetLabelColor(ci);" << std::endl;
126 out<<
" "<<
name<<subname<<
"->SetLabelColor("<<
fLabelColor<<
");"<<std::endl;
129 out<<
" "<<
name<<subname<<
"->SetLabelFont("<<
fLabelFont<<
");"<<std::endl;
132 out<<
" "<<
name<<subname<<
"->SetLabelOffset("<<
fLabelOffset<<
");"<<std::endl;
135 out<<
" "<<
name<<subname<<
"->SetLabelSize("<<
fLabelSize<<
");"<<std::endl;
138 out<<
" "<<
name<<subname<<
"->SetTitleSize("<<
fTitleSize<<
");"<<std::endl;
141 out<<
" "<<
name<<subname<<
"->SetTickLength("<<
fTickLength<<
");"<<std::endl;
144 out<<
" "<<
name<<subname<<
"->SetTitleOffset("<<
fTitleOffset<<
");"<<std::endl;
148 out<<
" "<<
name<<subname<<
"->SetTitleColor(ci);" << std::endl;
150 out<<
" "<<
name<<subname<<
"->SetTitleColor("<<
fTitleColor<<
");"<<std::endl;
153 out<<
" "<<
name<<subname<<
"->SetTitleFont("<<
fTitleFont<<
");"<<std::endl;
236 Bool_t isOptimized = optim && (ndiv>0);
238 fNdivisions = abs(ndiv) + current_maxDigits*1000000;
272 Int_t current_maxDigits = absDiv/1000000;
273 Int_t current_Ndivisions = absDiv - (current_maxDigits*1000000);
274 fNdivisions = (current_Ndivisions + (maxDigits*1000000));
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
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.
virtual void Streamer(TBuffer &)
Stream an object of class TAttAxis.
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 Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t GetVersionOwner() const =0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
static Bool_t 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.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.