115 out << prefix <<
"SetNdivisions(" <<
fNdivisions <<
");\n";
121 out << prefix <<
"SetLabelFont(" <<
fLabelFont <<
");\n";
123 out << prefix <<
"SetLabelOffset(" <<
fLabelOffset <<
");\n";
125 out << prefix <<
"SetLabelSize(" <<
fLabelSize <<
");\n";
127 out << prefix <<
"SetTitleSize(" <<
fTitleSize <<
");\n";
129 out << prefix <<
"SetTickLength(" <<
fTickLength <<
");\n";
131 out << prefix <<
"SetTitleOffset(" <<
fTitleOffset <<
");\n";
135 out << prefix <<
"SetTitleFont(" <<
fTitleFont <<
");\n";
217 Bool_t isOptimized = optim && (ndiv>0);
219 fNdivisions = abs(ndiv) + current_maxDigits*1000000;
253 Int_t current_maxDigits = absDiv/1000000;
254 Int_t current_Ndivisions = absDiv - (current_maxDigits*1000000);
255 fNdivisions = (current_Ndivisions + (maxDigits*1000000));
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
short Version_t
Class version identifier (short).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
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 Int_t GetColorTransparent(Int_t color, Float_t a)
static TString SavePrimitiveColor(Int_t ci)
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.