![]() |
ROOT
6.06/09
Reference Guide
|
Manages histogram axis attributes.
Definition at line 32 of file TAttAxis.h.
Public Member Functions | |
TAttAxis () | |
virtual | ~TAttAxis () |
Destructor. More... | |
void | Copy (TAttAxis &attaxis) const |
Copy of the object. More... | |
virtual Int_t | GetNdivisions () const |
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 Float_t | GetTitleOffset () const |
virtual Float_t | GetTitleSize () const |
virtual Float_t | GetTickLength () const |
virtual Color_t | GetTitleColor () const |
virtual Style_t | GetTitleFont () 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 | 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 | 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 | 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 | 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... | |
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... | |
ClassDef (TAttAxis, 4) | |
#include <TAttAxis.h>
TAttAxis::TAttAxis | ( | ) |
|
virtual |
Destructor.
Definition at line 36 of file TAttAxis.cxx.
TAttAxis::ClassDef | ( | TAttAxis | , |
4 | |||
) |
Copy of the object.
Definition at line 43 of file TAttAxis.cxx.
Referenced by TAxis::Copy(), and TStyle::Copy().
|
inlinevirtual |
Definition at line 51 of file TAttAxis.h.
Referenced by TAxis3D::GetAxisColor(), TStyle::GetAxisColor(), TH1::GetAxisColor(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLCameraOverlay::RenderAxis(), TGLAxisPainter::RnrLines(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 52 of file TAttAxis.h.
Referenced by TAxis3D::GetLabelColor(), TStyle::GetLabelColor(), TH1::GetLabelColor(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLAxisPainter::RnrLabels(), TAxisEditor::SetModel(), and TPie::TPie().
|
inlinevirtual |
Definition at line 53 of file TAttAxis.h.
Referenced by TEveProjectionAxesGL::DirectDraw(), TGraph::GetHistogram(), TAxis3D::GetLabelFont(), TStyle::GetLabelFont(), TH1::GetLabelFont(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TGLAxisPainter::PaintAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TAxisEditor::SetModel(), and TPie::TPie().
|
inlinevirtual |
Definition at line 54 of file TAttAxis.h.
Referenced by THistPainter::DistancetoPrimitive(), Rgl::Draw2DAxis(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TAxis3D::GetLabelOffset(), TStyle::GetLabelOffset(), TH1::GetLabelOffset(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TGaxis::PaintAxis(), THistPainter::PaintLegoAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLAxisPainter::RnrLabels(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 55 of file TAttAxis.h.
Referenced by TEveProjectionAxesGL::DirectDraw(), THistPainter::DistancetoPrimitive(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveProjectionAxesGL::FilterOverlappingLabels(), TGraph::GetHistogram(), TAxis3D::GetLabelSize(), TStyle::GetLabelSize(), TH1::GetLabelSize(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TGLAxisPainter::PaintAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLCameraOverlay::RenderAxis(), TEveCaloLegoOverlay::RenderPlaneInterface(), TAxisEditor::SetModel(), and TPie::TPie().
|
inlinevirtual |
Definition at line 50 of file TAttAxis.h.
Referenced by TAxis::ChooseTimeFormat(), Rgl::Draw2DAxis(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TAxis3D::GetNdivisions(), TStyle::GetNdivisions(), TH1::GetNdivisions(), TAxis::ImportAttributes(), TSpectrum2Painter::Paint(), TPaletteAxis::Paint(), THistPainter::Paint2DErrors(), THistPainter::PaintAxis(), TAxis3D::PaintAxis(), TGLAxisPainter::PaintAxis(), THistPainter::PaintH3Iso(), THistPainter::PaintLego(), THistPainter::PaintLegoAxis(), THistPainter::PaintSurface(), THistPainter::PaintTF3(), THistPainter::PaintTriangles(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLCameraOverlay::RenderAxis(), TAxisEditor::SetModel(), Rgl::SetZLevels(), TEveProjectionAxesGL::SplitIntervalByPos(), and TEveProjectionAxesGL::SplitIntervalByVal().
|
inlinevirtual |
Definition at line 58 of file TAttAxis.h.
Referenced by Rgl::Draw2DAxis(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TAxis3D::GetTickLength(), TStyle::GetTickLength(), TH1::GetTickLength(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), THistPainter::PaintAxis(), THistPainter::PaintLegoAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLAxisPainter::RnrLabels(), TGLAxisPainter::RnrLines(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 59 of file TAttAxis.h.
Referenced by TStyle::GetTitleColor(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TGLAxisPainter::RnrTitle(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 60 of file TAttAxis.h.
Referenced by TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TStyle::GetTitleFont(), TH1::GetTitleFont(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TGLAxisPainter::PaintAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 56 of file TAttAxis.h.
Referenced by TSelectorDraw::Begin(), TGraph::GetHistogram(), TAxis3D::GetTitleOffset(), TStyle::GetTitleOffset(), TH1::GetTitleOffset(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), and TAxisEditor::SetModel().
|
inlinevirtual |
Definition at line 57 of file TAttAxis.h.
Referenced by TEveCaloLegoGL::DrawAxis2D(), TMVA::StatDialogMVAEffs::DrawHistograms(), TGraph::GetHistogram(), TStyle::GetTitleSize(), TH1::GetTitleSize(), TAxis::ImportAttributes(), TGaxis::ImportAxisAttributes(), TGLAxisPainter::PaintAxis(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), and TAxisEditor::SetModel().
Reset axis attributes.
Definition at line 61 of file TAttAxis.cxx.
Referenced by TStyle::Reset(), TAxis::SetDefaults(), TAxis3D::UseCurrentStyle(), and TH1::UseCurrentStyle().
|
virtual |
Save axis attributes as C++ statement(s) on output stream out.
Reimplemented in TAxis.
Definition at line 93 of file TAttAxis.cxx.
Referenced by TAxis::SaveAttributes().
Set color of the line axis and tick marks.
Definition at line 145 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoAxisColor(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TAxis3D::SetAxisColor(), TStyle::SetAxisColor(), TH1::SetAxisColor(), TGLCameraOverlay::TGLCameraOverlay(), and TAxis3D::UseCurrentStyle().
Set color of labels.
Definition at line 155 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoLabelColor(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TAxis3D::SetLabelColor(), TStyle::SetLabelColor(), TH1::SetLabelColor(), TGLCameraOverlay::TGLCameraOverlay(), and TAxis3D::UseCurrentStyle().
Set labels' font.
Definition at line 165 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoLabelFont(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TAxis3D::SetLabelFont(), TStyle::SetLabelFont(), and TH1::SetLabelFont().
Set distance between the axis and the labels The distance is expressed in per cent of the pad width.
Definition at line 175 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoLabelOffset(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TEveCaloLegoOverlay::RenderPlaneInterface(), TAxis3D::SetLabelOffset(), TStyle::SetLabelOffset(), TH1::SetLabelOffset(), and TGLCameraOverlay::TGLCameraOverlay().
Set size of axis labels The size is expressed in per cent of the pad width.
Definition at line 186 of file TAttAxis.cxx.
Referenced by TMVA::correlations(), TMVA::correlationsMultiClass(), TMVA::DataSetInfo::CreateCorrelationMatrixHist(), do_anadist(), TAxisEditor::DoLabelSize(), TProofBench::DrawCPU(), TProofBench::DrawDataSet(), TProofBench::DrawEfficiency(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TTreePerfStats::Paint(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TEveCaloLegoOverlay::RenderPlaneInterface(), TMVA::TMVAGlob::SetFrameStyle(), TAxis3D::SetLabelSize(), TStyle::SetLabelSize(), TH1::SetLabelSize(), TMemStatShow::Show(), and TGLCameraOverlay::TGLCameraOverlay().
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 211 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoDivisions(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TMultiGraph::PaintPolyLine3D(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TEveCaloLegoOverlay::RenderPlaneInterface(), TEveCaloDataVec::SetAxisFromBins(), SetNdivisions(), TAxis3D::SetNdivisions(), TStyle::SetNdivisions(), TH1::SetNdivisions(), TEveRGBAPaletteOverlay::TEveRGBAPaletteOverlay(), and TGLCameraOverlay::TGLCameraOverlay().
see function above
Definition at line 221 of file TAttAxis.cxx.
Set tick mark length The length is expressed in per cent of the pad width.
Definition at line 231 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoTickLength(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGLAxisPainterBox::DrawAxis3D(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TEveRGBAPaletteOverlay::Render(), TGLCameraOverlay::RenderAxis(), TEveCaloLegoOverlay::RenderPlaneInterface(), TAxis3D::SetTickLength(), TStyle::SetTickLength(), TH1::SetTickLength(), and SetTickSize().
Definition at line 71 of file TAttAxis.h.
Set color of axis title.
Definition at line 263 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoTitleColor(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), and TStyle::SetTitleColor().
Set the title font.
Definition at line 272 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoTitleFont(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TStyle::SetTitleFont(), and TH1::SetTitleFont().
Set distance between the axis and the axis title Offset is a correction factor with respect to the "standard" value.
Definition at line 244 of file TAttAxis.cxx.
Referenced by TMVA::annconvergencetest(), TSelectorDraw::Begin(), TMVA::compareanapp(), TAxisEditor::DoTitleOffset(), TProofBench::DrawCPU(), DrawData(), TProofBench::DrawDataSet(), TProofBench::DrawEfficiency(), TMVA::DrawMLPoutputMovie(), TProofPerfAnalysis::FileDist(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TMVA::mvas(), TMVA::mvasMulticlass(), TMVA::mvaweights(), TTreePerfStats::Paint(), pirndm(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TMVA::rulevisCorr(), TMVA::rulevisHists(), TMVA::TMVAGlob::SetFrameStyle(), TAxis3D::SetTitleOffset(), TStyle::SetTitleOffset(), TH1::SetTitleOffset(), TMultiLayerPerceptron::Train(), and TMVA::variables().
Set size of axis title The size is expressed in per cent of the pad width.
Definition at line 254 of file TAttAxis.cxx.
Referenced by TAxisEditor::DoTitleSize(), TEveCaloLegoGL::DrawAxis2D(), TProofBench::DrawCPU(), DrawData(), TProofBench::DrawDataSet(), TProofBench::DrawEfficiency(), TGraph::GetHistogram(), TAxis::ImportAttributes(), TH1::Rebin(), TH2::Rebin2D(), TH3::Rebin3D(), TMVA::TMVAGlob::SetFrameStyle(), TStyle::SetTitleSize(), and TH1::SetTitleSize().
|
protected |
Definition at line 35 of file TAttAxis.h.
Referenced by Copy(), GetAxisColor(), ResetAttAxis(), SaveAttributes(), SetAxisColor(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 36 of file TAttAxis.h.
Referenced by Copy(), GetLabelColor(), ResetAttAxis(), SaveAttributes(), SetLabelColor(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 37 of file TAttAxis.h.
Referenced by Copy(), GetLabelFont(), ResetAttAxis(), SaveAttributes(), and SetLabelFont().
|
protected |
Definition at line 38 of file TAttAxis.h.
Referenced by Copy(), GetLabelOffset(), ResetAttAxis(), SaveAttributes(), SetLabelOffset(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 39 of file TAttAxis.h.
Referenced by Copy(), GetLabelSize(), ResetAttAxis(), SaveAttributes(), SetLabelSize(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 34 of file TAttAxis.h.
Referenced by Copy(), GetNdivisions(), ResetAttAxis(), SaveAttributes(), SetNdivisions(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 40 of file TAttAxis.h.
Referenced by Copy(), GetTickLength(), ResetAttAxis(), SaveAttributes(), SetTickLength(), and TEveProjectionAxes::TEveProjectionAxes().
|
protected |
Definition at line 43 of file TAttAxis.h.
Referenced by Copy(), GetTitleColor(), ResetAttAxis(), SaveAttributes(), and SetTitleColor().
|
protected |
Definition at line 44 of file TAttAxis.h.
Referenced by Copy(), GetTitleFont(), ResetAttAxis(), SaveAttributes(), and SetTitleFont().
|
protected |
Definition at line 41 of file TAttAxis.h.
Referenced by Copy(), GetTitleOffset(), ResetAttAxis(), SaveAttributes(), and SetTitleOffset().
|
protected |
Definition at line 42 of file TAttAxis.h.
Referenced by Copy(), GetTitleSize(), ResetAttAxis(), SaveAttributes(), and SetTitleSize().