ROOT 6.10/09 Reference Guide |
Manages histogram axis attributes.
They are:
Definition at line 18 of file TAttAxis.h.
Public Member Functions | |
TAttAxis () | |
virtual | ~TAttAxis () |
Destructor. More... | |
void | Copy (TAttAxis &attaxis) const |
Copy of the object. More... | |
virtual Color_t | GetAxisColor () const |
virtual Color_t | GetLabelColor () const |
virtual Style_t | GetLabelFont () const |
virtual Float_t | GetLabelOffset () const |
virtual Float_t | GetLabelSize () const |
virtual Int_t | GetNdivisions () const |
virtual Float_t | GetTickLength () const |
virtual Color_t | GetTitleColor () const |
virtual Style_t | GetTitleFont () const |
virtual Float_t | GetTitleOffset () const |
virtual Float_t | GetTitleSize () const |
virtual void | ResetAttAxis (Option_t *option="") |
Reset axis attributes. More... | |
virtual void | SaveAttributes (std::ostream &out, const char *name, const char *subname) |
Save axis attributes as C++ statement(s) on output stream out. More... | |
virtual void | SetAxisColor (Color_t color=1, Float_t alpha=1.) |
Set color of the line axis and tick marks. More... | |
virtual void | SetLabelColor (Color_t color=1, Float_t alpha=1.) |
Set color of labels. More... | |
virtual void | SetLabelFont (Style_t font=62) |
Set labels' font. More... | |
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. More... | |
virtual void | SetLabelSize (Float_t size=0.04) |
Set size of axis labels The size is expressed in per cent of the pad width. More... | |
virtual void | SetNdivisions (Int_t n=510, Bool_t optim=kTRUE) |
Set the number of divisions for this axis. More... | |
virtual void | SetNdivisions (Int_t n1, Int_t n2, Int_t n3, Bool_t optim=kTRUE) |
see function above More... | |
virtual void | SetTickLength (Float_t length=0.03) |
Set tick mark length The length is expressed in per cent of the pad width. More... | |
virtual void | SetTickSize (Float_t size=0.03) |
virtual void | SetTitleColor (Color_t color=1) |
Set color of axis title. More... | |
virtual void | SetTitleFont (Style_t font=62) |
Set the title font. More... | |
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 "standard" value. More... | |
virtual void | SetTitleSize (Float_t size=0.04) |
Set size of axis title The size is expressed in per cent of the pad width. More... | |
Protected Attributes | |
Color_t | fAxisColor |
Color of the line axis. More... | |
Color_t | fLabelColor |
Color of labels. More... | |
Style_t | fLabelFont |
Font for labels. More... | |
Float_t | fLabelOffset |
Offset of labels. More... | |
Float_t | fLabelSize |
Size of labels. More... | |
Int_t | fNdivisions |
Number of divisions(10000*n3 + 100*n2 + n1) More... | |
Float_t | fTickLength |
Length of tick marks. More... | |
Color_t | fTitleColor |
Color of axis title. More... | |
Style_t | fTitleFont |
Font for axis title. More... | |
Float_t | fTitleOffset |
Offset of axis title. More... | |
Float_t | fTitleSize |
Size of axis title. More... | |
#include <TAttAxis.h>
TAttAxis::TAttAxis | ( | ) |
Definition at line 45 of file TAttAxis.cxx.
|
virtual |
Destructor.
Definition at line 54 of file TAttAxis.cxx.
Copy of the object.
Definition at line 61 of file TAttAxis.cxx.
|
inlinevirtual |
Definition at line 37 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 38 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 39 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 40 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 41 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 36 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 44 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 45 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 46 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 42 of file TAttAxis.h.
|
inlinevirtual |
Definition at line 43 of file TAttAxis.h.
Reset axis attributes.
Definition at line 79 of file TAttAxis.cxx.
|
virtual |
Save axis attributes as C++ statement(s) on output stream out.
Reimplemented in TAxis.
Definition at line 111 of file TAttAxis.cxx.
Set color of the line axis and tick marks.
Definition at line 163 of file TAttAxis.cxx.
Set color of labels.
Definition at line 173 of file TAttAxis.cxx.
Set labels' font.
Definition at line 183 of file TAttAxis.cxx.
Set distance between the axis and the labels The distance is expressed in per cent of the pad width.
Definition at line 193 of file TAttAxis.cxx.
Set size of axis labels The size is expressed in per cent of the pad width.
Definition at line 204 of file TAttAxis.cxx.
Set the number of divisions for this axis.
e.g. 512 means 12 primary and 5 secondary divisions.
If the number of divisions is "optimized" (see above) n1, n2, n3 are maximum values.
Definition at line 229 of file TAttAxis.cxx.
see function above
Definition at line 239 of file TAttAxis.cxx.
Set tick mark length The length is expressed in per cent of the pad width.
Definition at line 249 of file TAttAxis.cxx.
Definition at line 57 of file TAttAxis.h.
Set color of axis title.
Definition at line 281 of file TAttAxis.cxx.
Set the title font.
Definition at line 290 of file TAttAxis.cxx.
Set distance between the axis and the axis title Offset is a correction factor with respect to the "standard" value.
Definition at line 262 of file TAttAxis.cxx.
Set size of axis title The size is expressed in per cent of the pad width.
Definition at line 272 of file TAttAxis.cxx.
|
protected |
Color of the line axis.
Definition at line 21 of file TAttAxis.h.
|
protected |
Color of labels.
Definition at line 22 of file TAttAxis.h.
|
protected |
Font for labels.
Definition at line 23 of file TAttAxis.h.
|
protected |
Offset of labels.
Definition at line 24 of file TAttAxis.h.
|
protected |
Size of labels.
Definition at line 25 of file TAttAxis.h.
|
protected |
Number of divisions(10000*n3 + 100*n2 + n1)
Definition at line 20 of file TAttAxis.h.
|
protected |
Length of tick marks.
Definition at line 26 of file TAttAxis.h.
|
protected |
Color of axis title.
Definition at line 29 of file TAttAxis.h.
|
protected |
Font for axis title.
Definition at line 30 of file TAttAxis.h.
|
protected |
Offset of axis title.
Definition at line 27 of file TAttAxis.h.
|
protected |
Size of axis title.
Definition at line 28 of file TAttAxis.h.