TGaxis Class Reference

#include <TGaxis.h>

Inheritance diagram for TGaxis:

TLine TAttText TLine TAttText TAttLine TObject TAttLine TObject TAttLine TObject TAttLine TObject List of all members.

Public Member Functions

 TGaxis ()
 TGaxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
 TGaxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *funcname, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
virtual ~TGaxis ()
virtual void AdjustBinSize (Double_t A1, Double_t A2, Int_t nold, Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BinWidth)
virtual void CenterLabels (Bool_t center=kTRUE)
virtual void CenterTitle (Bool_t center=kTRUE)
virtual void DrawAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
Float_t GetGridLength () const
TF1 * GetFunction () const
Int_t GetLabelColor () const
Int_t GetLabelFont () const
Float_t GetLabelOffset () const
Float_t GetLabelSize () const
Float_t GetTitleOffset () const
Float_t GetTitleSize () const
virtual const char * GetName () const
virtual const char * GetOption () const
virtual const char * GetTitle () const
Int_t GetNdiv () const
Double_t GetWmin () const
Double_t GetWmax () const
Float_t GetTickSize () const
virtual void ImportAxisAttributes (TAxis *axis)
void LabelsLimits (const char *label, Int_t &first, Int_t &last)
virtual void Paint (Option_t *chopt="")
virtual void PaintAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t &wmin, Double_t &wmax, Int_t &ndiv, Option_t *chopt="", Double_t gridlength=0, Bool_t drawGridOnly=kFALSE)
virtual void Rotate (Double_t X, Double_t Y, Double_t CFI, Double_t SFI, Double_t XT, Double_t YT, Double_t &U, Double_t &V)
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetFunction (const char *funcname="")
void SetOption (Option_t *option="")
void SetLabelColor (Int_t labelcolor)
void SetLabelFont (Int_t labelfont)
void SetLabelOffset (Float_t labeloffset)
void SetLabelSize (Float_t labelsize)
virtual void SetName (const char *name)
virtual void SetNdivisions (Int_t ndiv)
virtual void SetMoreLogLabels (Bool_t more=kTRUE)
virtual void SetNoExponent (Bool_t noExponent=kTRUE)
virtual void SetDecimals (Bool_t dot=kTRUE)
void SetTickSize (Float_t ticksize)
void SetGridLength (Float_t gridlength)
void SetTimeFormat (const char *tformat)
void SetTimeOffset (Double_t toffset, Option_t *option="local")
virtual void SetTitle (const char *title="")
void SetTitleOffset (Float_t titleoffset=1)
void SetTitleSize (Float_t titlesize)
void SetTitleFont (Int_t titlefont)
void SetTitleColor (Int_t titlecolor)
void SetWmin (Double_t wmin)
void SetWmax (Double_t wmax)
 TGaxis ()
 TGaxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
 TGaxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char *funcname, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
virtual ~TGaxis ()
virtual void AdjustBinSize (Double_t A1, Double_t A2, Int_t nold, Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BinWidth)
virtual void CenterLabels (Bool_t center=kTRUE)
virtual void CenterTitle (Bool_t center=kTRUE)
virtual void DrawAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t wmin, Double_t wmax, Int_t ndiv=510, Option_t *chopt="", Double_t gridlength=0)
Float_t GetGridLength () const
TF1 * GetFunction () const
Int_t GetLabelColor () const
Int_t GetLabelFont () const
Float_t GetLabelOffset () const
Float_t GetLabelSize () const
Float_t GetTitleOffset () const
Float_t GetTitleSize () const
virtual const char * GetName () const
virtual const char * GetOption () const
virtual const char * GetTitle () const
Int_t GetNdiv () const
Double_t GetWmin () const
Double_t GetWmax () const
Float_t GetTickSize () const
virtual void ImportAxisAttributes (TAxis *axis)
void LabelsLimits (const char *label, Int_t &first, Int_t &last)
virtual void Paint (Option_t *chopt="")
virtual void PaintAxis (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, Double_t &wmin, Double_t &wmax, Int_t &ndiv, Option_t *chopt="", Double_t gridlength=0, Bool_t drawGridOnly=kFALSE)
virtual void Rotate (Double_t X, Double_t Y, Double_t CFI, Double_t SFI, Double_t XT, Double_t YT, Double_t &U, Double_t &V)
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetFunction (const char *funcname="")
void SetOption (Option_t *option="")
void SetLabelColor (Int_t labelcolor)
void SetLabelFont (Int_t labelfont)
void SetLabelOffset (Float_t labeloffset)
void SetLabelSize (Float_t labelsize)
virtual void SetName (const char *name)
virtual void SetNdivisions (Int_t ndiv)
virtual void SetMoreLogLabels (Bool_t more=kTRUE)
virtual void SetNoExponent (Bool_t noExponent=kTRUE)
virtual void SetDecimals (Bool_t dot=kTRUE)
void SetTickSize (Float_t ticksize)
void SetGridLength (Float_t gridlength)
void SetTimeFormat (const char *tformat)
void SetTimeOffset (Double_t toffset, Option_t *option="local")
virtual void SetTitle (const char *title="")
void SetTitleOffset (Float_t titleoffset=1)
void SetTitleSize (Float_t titlesize)
void SetTitleFont (Int_t titlefont)
void SetTitleColor (Int_t titlecolor)
void SetWmin (Double_t wmin)
void SetWmax (Double_t wmax)

Static Public Member Functions

static Int_t GetMaxDigits ()
static void SetMaxDigits (Int_t maxd=5)
static Int_t GetMaxDigits ()
static void SetMaxDigits (Int_t maxd=5)

Protected Member Functions

 TGaxis (const TGaxis &)
 Number of digits above which the 10>N notation is used.
TGaxis & operator= (const TGaxis &)
 TGaxis (const TGaxis &)
 Number of digits above which the 10>N notation is used.
TGaxis & operator= (const TGaxis &)

Protected Attributes

Double_t fWmin
Double_t fWmax
Float_t fGridLength
Float_t fTickSize
Float_t fLabelOffset
Float_t fLabelSize
Float_t fTitleOffset
Float_t fTitleSize
Int_t fNdiv
Int_t fLabelColor
Int_t fLabelFont
TString fChopt
TString fName
TString fTitle
TString fTimeFormat
TString fFunctionName
TF1 * fFunction
TAxis * fAxis
 Pointer to function computing axis values.
TF1 * fFunction
TAxis * fAxis
 Pointer to function computing axis values.

Static Protected Attributes

static Int_t fgMaxDigits
 pointer to original TAxis axis (if any)

Detailed Description

Definition at line 39 of file TGaxis.h.


Constructor & Destructor Documentation

TGaxis::TGaxis ( const TGaxis &   )  [protected]

Number of digits above which the 10>N notation is used.

Definition at line 238 of file TGaxis.cxx.

TGaxis::TGaxis (  ) 

Referenced by DrawAxis().

TGaxis::TGaxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t  wmin,
Double_t  wmax,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
)

Definition at line 133 of file TGaxis.cxx.

References fAxis, fChopt, fFunction, fFunctionName, fGridLength, fLabelColor, fLabelFont, fLabelOffset, fLabelSize, fName, fNdiv, fTickSize, fTimeFormat, fTitle, fTitleOffset, fTitleSize, fWmax, and fWmin.

TGaxis::TGaxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
const char *  funcname,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
)

Definition at line 163 of file TGaxis.cxx.

References TObject::Error(), fAxis, fChopt, fFunction, fFunctionName, fGridLength, fLabelColor, fLabelFont, fLabelOffset, fLabelSize, fName, fNdiv, fTickSize, fTimeFormat, fTitle, fTitleOffset, fTitleSize, fWmax, fWmin, TROOT::GetFunction(), TF1::GetXmax(), TF1::GetXmin(), and gROOT.

TGaxis::~TGaxis (  )  [virtual]

Definition at line 296 of file TGaxis.cxx.

TGaxis::TGaxis ( const TGaxis &   )  [protected]

Number of digits above which the 10>N notation is used.

TGaxis::TGaxis (  ) 

TGaxis::TGaxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t  wmin,
Double_t  wmax,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
)

TGaxis::TGaxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
const char *  funcname,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
)

virtual TGaxis::~TGaxis (  )  [virtual]


Member Function Documentation

TGaxis & TGaxis::operator= ( const TGaxis &   )  [protected]

Definition at line 265 of file TGaxis.cxx.

References fAxis, fChopt, fFunction, fFunctionName, fGridLength, fLabelColor, fLabelFont, fLabelOffset, fLabelSize, fName, fNdiv, fTickSize, fTimeFormat, fTitle, fTitleOffset, fTitleSize, fWmax, fWmin, and TObject::operator=().

void TGaxis::AdjustBinSize ( Double_t  A1,
Double_t  A2,
Int_t  nold,
Double_t &  BinLow,
Double_t &  BinHigh,
Int_t &  nbins,
Double_t &  BinWidth 
) [virtual]

Definition at line 1888 of file TGaxis.cxx.

References TMath::Abs(), int, and width.

Referenced by PaintAxis().

void TGaxis::CenterLabels ( Bool_t  center = kTRUE  )  [virtual]

Definition at line 303 of file TGaxis.cxx.

References TAxis::kCenterLabels, TObject::ResetBit(), and TObject::SetBit().

void TGaxis::CenterTitle ( Bool_t  center = kTRUE  )  [virtual]

Definition at line 315 of file TGaxis.cxx.

References TAxis::kCenterTitle, TObject::ResetBit(), and TObject::SetBit().

void TGaxis::DrawAxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t  wmin,
Double_t  wmax,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
) [virtual]

Definition at line 326 of file TGaxis.cxx.

References TObject::AppendPad(), fLabelColor, fLabelFont, fLabelOffset, fLabelSize, TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, TAttText::fTextAlign, TAttText::fTextAngle, TAttText::fTextColor, TAttText::fTextFont, TAttText::fTextSize, fTickSize, fTitleOffset, fTitleSize, GetTitle(), TObject::kCanDelete, TAxis::kCenterTitle, TObject::SetBit(), SetLabelColor(), SetLabelFont(), SetLabelOffset(), SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), SetTickSize(), SetTitle(), SetTitleOffset(), SetTitleSize(), TObject::TestBit(), and TGaxis().

Float_t TGaxis::GetGridLength (  )  const [inline]

Definition at line 84 of file TGaxis.h.

References fGridLength.

Referenced by SavePrimitive().

TF1* TGaxis::GetFunction (  )  const [inline]

Definition at line 85 of file TGaxis.h.

References fFunction.

Int_t TGaxis::GetLabelColor (  )  const [inline]

Definition at line 86 of file TGaxis.h.

References fLabelColor.

Referenced by PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

Int_t TGaxis::GetLabelFont (  )  const [inline]

Definition at line 87 of file TGaxis.h.

References fLabelFont.

Referenced by PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

Float_t TGaxis::GetLabelOffset (  )  const [inline]

Definition at line 88 of file TGaxis.h.

References fLabelOffset.

Referenced by TSpectrum2Painter::Paint(), PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

Float_t TGaxis::GetLabelSize (  )  const [inline]

Definition at line 89 of file TGaxis.h.

References fLabelSize.

Referenced by PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

Float_t TGaxis::GetTitleOffset (  )  const [inline]

Definition at line 90 of file TGaxis.h.

References fTitleOffset.

Referenced by PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

Float_t TGaxis::GetTitleSize (  )  const [inline]

Definition at line 91 of file TGaxis.h.

References fTitleSize.

Referenced by PaintAxis(), SavePrimitive(), and TPaletteAxis::SavePrimitive().

virtual const char* TGaxis::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 92 of file TGaxis.h.

References TString::Data(), and fName.

Referenced by SavePrimitive().

virtual const char* TGaxis::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 93 of file TGaxis.h.

References TString::Data(), and fChopt.

virtual const char* TGaxis::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 94 of file TGaxis.h.

References TString::Data(), and fTitle.

Referenced by DrawAxis(), PaintAxis(), and SavePrimitive().

Int_t TGaxis::GetMaxDigits (  )  [static]

Definition at line 356 of file TGaxis.cxx.

References fgMaxDigits.

Referenced by G__G__Graf_159_0_21(), and G__setup_memfuncTGaxis().

Int_t TGaxis::GetNdiv (  )  const [inline]

Definition at line 96 of file TGaxis.h.

References fNdiv.

Double_t TGaxis::GetWmin (  )  const [inline]

Definition at line 97 of file TGaxis.h.

References fWmin.

Double_t TGaxis::GetWmax (  )  const [inline]

Definition at line 98 of file TGaxis.h.

References fWmax.

Float_t TGaxis::GetTickSize (  )  const [inline]

Definition at line 99 of file TGaxis.h.

References fTickSize.

Referenced by TSpectrum2Painter::Paint(), and SavePrimitive().

void TGaxis::ImportAxisAttributes ( TAxis *  axis  )  [virtual]

Definition at line 365 of file TGaxis.cxx.

References axis, fAxis, TAxis::kCenterLabels, TAxis::kCenterTitle, TAxis::kDecimals, TAxis::kMoreLogLabels, TAxis::kNoExponent, TAxis::kRotateTitle, TAxis::kTickMinus, TAxis::kTickPlus, TObject::SetBit(), SetLabelColor(), SetLabelFont(), SetLabelOffset(), SetLabelSize(), TAttLine::SetLineColor(), TAttText::SetTextColor(), TAttText::SetTextFont(), SetTickSize(), SetTimeFormat(), SetTitle(), SetTitleOffset(), and SetTitleSize().

Referenced by Rgl::Draw2DAxis(), and TPaletteAxis::TPaletteAxis().

void TGaxis::LabelsLimits ( const char *  label,
Int_t &  first,
Int_t &  last 
)

Definition at line 1933 of file TGaxis.cxx.

References TObject::Error(), and i.

Referenced by PaintAxis().

void TGaxis::Paint ( Option_t *  chopt = ""  )  [virtual]

Reimplemented from TLine.

Definition at line 394 of file TGaxis.cxx.

References TString::Data(), fChopt, fGridLength, fNdiv, fWmax, fWmin, TLine::fX1, TLine::fX2, TLine::fY1, TLine::fY2, gPad, PaintAxis(), x1, and x2.

Referenced by Rgl::DrawPaletteAxis(), TSpectrum2Painter::Paint(), and TTreePerfStats::Paint().

void TGaxis::PaintAxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t &  wmin,
Double_t &  wmax,
Int_t &  ndiv,
Option_t *  chopt = "",
Double_t  gridlength = 0,
Bool_t  drawGridOnly = kFALSE 
) [virtual]

Definition at line 413 of file TGaxis.cxx.

References TMath::Abs(), AdjustBinSize(), TMath::ATan2(), ROOT::Math::Cephes::beta(), TMath::Cos(), TString::Data(), RootCsg::dot(), RootCsg::epsilon, TObject::Error(), TF1::Eval(), exp(), fAxis, fChopt, fFunction, fFunctionName, fgMaxDigits, fLabelOffset, fLabelSize, fTickSize, fTimeFormat, TAxis::GetBinCenter(), TAxis::GetBinLabel(), TLatex::GetBoundingBox(), TAxis::GetFirst(), TROOT::GetFunction(), TStyle::GetGridColor(), TStyle::GetGridStyle(), TStyle::GetGridWidth(), GetLabelColor(), GetLabelFont(), GetLabelOffset(), TAttAxis::GetLabelOffset(), TAxis::GetLabels(), GetLabelSize(), TAxis::GetLast(), TAttLine::GetLineColor(), TAttLine::GetLineWidth(), TNamed::GetName(), TStyle::GetStripDecimals(), TAttText::GetTextAngle(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TStyle::GetTimeOffset(), GetTitle(), GetTitleOffset(), GetTitleSize(), TLatex::GetXsize(), TTimeStamp::GetZoneOffset(), gPad, gROOT, gStyle, gVirtualX, h2, hi, i, TString::Index(), int, j, k, TAxis::kCenterLabels, TAxis::kCenterTitle, TAxis::kDecimals, kFALSE, kHori, TAxis::kLabelsDown, TAxis::kLabelsHori, TAxis::kLabelsUp, TAxis::kLabelsVert, TAxis::kMoreLogLabels, TAxis::kNoExponent, kPI, TAxis::kRotateTitle, TAxis::kTickMinus, TAxis::kTickPlus, kTRUE, l, LabelsLimits(), TString::Length(), TMath::Log10(), TMath::Max(), TMath::Min(), nbins, nf, THLimitsFinder::Optimize(), TLatex::PaintLatex(), TLine::PaintLineNDC(), TText::PaintTextNDC(), phi, TMath::Pi(), TMath::Power(), TString::ReplaceAll(), Rotate(), s, TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TText::SetText(), TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), TNamed::SetTitle(), TMath::Sin(), snprintf, TMath::Sqrt(), strlcat(), t, TObject::TestBit(), TLine::TLine(), u, x0, x1, and y.

Referenced by Rgl::Draw2DAxis(), TSpectrum2Painter::Paint(), Paint(), and TPaletteAxis::Paint().

void TGaxis::Rotate ( Double_t  X,
Double_t  Y,
Double_t  CFI,
Double_t  SFI,
Double_t  XT,
Double_t  YT,
Double_t &  U,
Double_t &  V 
) [virtual]

Definition at line 1946 of file TGaxis.cxx.

Referenced by PaintAxis().

void TGaxis::SavePrimitive ( ostream &  out,
Option_t *  option = "" 
) [virtual]

Reimplemented from TLine.

Definition at line 1957 of file TGaxis.cxx.

References xmlio::Class, TROOT::ClassSaved(), TString::Data(), fChopt, fLabelColor, fLabelFont, TAttLine::fLineColor, TAttLine::fLineStyle, TAttLine::fLineWidth, fNdiv, fWmax, fWmin, TLine::fX1, TLine::fX2, TLine::fY1, TLine::fY2, GetGridLength(), GetLabelColor(), GetLabelFont(), GetLabelOffset(), GetLabelSize(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), GetName(), TAttText::GetTextColor(), TAttText::GetTextFont(), GetTickSize(), GetTitle(), GetTitleOffset(), GetTitleSize(), gROOT, TAxis::kMoreLogLabels, TAxis::kNoExponent, TColor::SaveColor(), and TObject::TestBit().

void TGaxis::SetFunction ( const char *  funcname = ""  ) 

Definition at line 2035 of file TGaxis.cxx.

References TObject::Error(), fFunction, fFunctionName, fWmax, fWmin, TROOT::GetFunction(), TF1::GetXmax(), TF1::GetXmin(), and gROOT.

void TGaxis::SetOption ( Option_t *  option = ""  ) 

Definition at line 2106 of file TGaxis.cxx.

References fChopt.

Referenced by Rgl::Draw2DAxis().

void TGaxis::SetLabelColor ( Int_t  labelcolor  )  [inline]

Definition at line 111 of file TGaxis.h.

References fLabelColor.

Referenced by DrawAxis(), ImportAxisAttributes(), TTreePerfStats::Paint(), and TPaletteAxis::SetLabelColor().

void TGaxis::SetLabelFont ( Int_t  labelfont  )  [inline]

Definition at line 112 of file TGaxis.h.

References fLabelFont.

Referenced by DrawAxis(), ImportAxisAttributes(), and TPaletteAxis::SetLabelFont().

void TGaxis::SetLabelOffset ( Float_t  labeloffset  )  [inline]

Definition at line 113 of file TGaxis.h.

References fLabelOffset.

Referenced by Rgl::Draw2DAxis(), DrawAxis(), ImportAxisAttributes(), TSpectrum2Painter::Paint(), TPaletteAxis::SetLabelOffset(), and tgaxis2().

void TGaxis::SetLabelSize ( Float_t  labelsize  )  [inline]

Definition at line 114 of file TGaxis.h.

References fLabelSize.

Referenced by DrawAxis(), ImportAxisAttributes(), TTreePerfStats::Paint(), TPaletteAxis::SetLabelSize(), tgaxis1(), tgaxis2(), and Viewer::Viewer().

void TGaxis::SetMaxDigits ( Int_t  maxd = 5  )  [static]

Definition at line 2055 of file TGaxis.cxx.

References fgMaxDigits.

Referenced by G__G__Graf_159_0_38(), and G__setup_memfuncTGaxis().

void TGaxis::SetName ( const char *  name  )  [virtual]

Definition at line 2071 of file TGaxis.cxx.

References fName.

Referenced by TTreePerfStats::Paint(), tgaxis1(), tgaxis2(), and Viewer::Viewer().

virtual void TGaxis::SetNdivisions ( Int_t  ndiv  )  [inline, virtual]

Definition at line 117 of file TGaxis.h.

References fNdiv.

void TGaxis::SetMoreLogLabels ( Bool_t  more = kTRUE  )  [virtual]

Definition at line 2080 of file TGaxis.cxx.

References TAxis::kMoreLogLabels, TObject::ResetBit(), and TObject::SetBit().

void TGaxis::SetNoExponent ( Bool_t  noExponent = kTRUE  )  [virtual]

Definition at line 2093 of file TGaxis.cxx.

References TAxis::kNoExponent, TObject::ResetBit(), and TObject::SetBit().

void TGaxis::SetDecimals ( Bool_t  dot = kTRUE  )  [virtual]

Definition at line 2020 of file TGaxis.cxx.

References TAxis::kDecimals, TObject::ResetBit(), and TObject::SetBit().

void TGaxis::SetTickSize ( Float_t  ticksize  )  [inline]

Definition at line 121 of file TGaxis.h.

References fTickSize.

Referenced by DrawAxis(), and ImportAxisAttributes().

void TGaxis::SetGridLength ( Float_t  gridlength  )  [inline]

Definition at line 122 of file TGaxis.h.

References fGridLength.

void TGaxis::SetTimeFormat ( const char *  tformat  ) 

Definition at line 2124 of file TGaxis.cxx.

References TString::Append(), fTimeFormat, TStyle::GetTimeOffset(), gStyle, TString::Index(), TString::IsNull(), TString::Length(), and SetTimeOffset().

Referenced by Rgl::Draw2DAxis(), and ImportAxisAttributes().

void TGaxis::SetTimeOffset ( Double_t  toffset,
Option_t *  option = "local" 
)

Definition at line 2165 of file TGaxis.cxx.

References TString::Append(), TString::Contains(), fTimeFormat, TString::Index(), kFALSE, kTRUE, TString::Remove(), snprintf, and TString::ToLower().

Referenced by SetTimeFormat().

void TGaxis::SetTitle ( const char *  title = ""  )  [virtual]

Definition at line 2115 of file TGaxis.cxx.

References fTitle.

Referenced by DrawAxis(), ImportAxisAttributes(), TTreePerfStats::Paint(), and tgaxis1().

void TGaxis::SetTitleOffset ( Float_t  titleoffset = 1  )  [inline]

Definition at line 126 of file TGaxis.h.

References fTitleOffset.

Referenced by DrawAxis(), ImportAxisAttributes(), TTreePerfStats::Paint(), TPaletteAxis::SetTitleOffset(), and tgaxis1().

void TGaxis::SetTitleSize ( Float_t  titlesize  )  [inline]

Definition at line 127 of file TGaxis.h.

References fTitleSize.

Referenced by DrawAxis(), ImportAxisAttributes(), and TPaletteAxis::SetTitleSize().

void TGaxis::SetTitleFont ( Int_t  titlefont  )  [inline]

Definition at line 128 of file TGaxis.h.

References TAttText::SetTextFont().

void TGaxis::SetTitleColor ( Int_t  titlecolor  )  [inline]

Definition at line 129 of file TGaxis.h.

References TAttText::SetTextColor().

Referenced by TTreePerfStats::Paint().

void TGaxis::SetWmin ( Double_t  wmin  )  [inline]

Definition at line 130 of file TGaxis.h.

References fWmin.

Referenced by Viewer::SetRange().

void TGaxis::SetWmax ( Double_t  wmax  )  [inline]

Definition at line 131 of file TGaxis.h.

References fWmax.

Referenced by Viewer::SetRange().

TGaxis& TGaxis::operator= ( const TGaxis &   )  [protected]

virtual void TGaxis::AdjustBinSize ( Double_t  A1,
Double_t  A2,
Int_t  nold,
Double_t &  BinLow,
Double_t &  BinHigh,
Int_t &  nbins,
Double_t &  BinWidth 
) [virtual]

virtual void TGaxis::CenterLabels ( Bool_t  center = kTRUE  )  [virtual]

virtual void TGaxis::CenterTitle ( Bool_t  center = kTRUE  )  [virtual]

virtual void TGaxis::DrawAxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t  wmin,
Double_t  wmax,
Int_t  ndiv = 510,
Option_t *  chopt = "",
Double_t  gridlength = 0 
) [virtual]

Float_t TGaxis::GetGridLength (  )  const [inline]

Definition at line 84 of file TGaxis.h.

References fGridLength.

TF1* TGaxis::GetFunction (  )  const [inline]

Definition at line 85 of file TGaxis.h.

References fFunction.

Int_t TGaxis::GetLabelColor (  )  const [inline]

Definition at line 86 of file TGaxis.h.

References fLabelColor.

Int_t TGaxis::GetLabelFont (  )  const [inline]

Definition at line 87 of file TGaxis.h.

References fLabelFont.

Float_t TGaxis::GetLabelOffset (  )  const [inline]

Definition at line 88 of file TGaxis.h.

References fLabelOffset.

Float_t TGaxis::GetLabelSize (  )  const [inline]

Definition at line 89 of file TGaxis.h.

References fLabelSize.

Float_t TGaxis::GetTitleOffset (  )  const [inline]

Definition at line 90 of file TGaxis.h.

References fTitleOffset.

Float_t TGaxis::GetTitleSize (  )  const [inline]

Definition at line 91 of file TGaxis.h.

References fTitleSize.

virtual const char* TGaxis::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 92 of file TGaxis.h.

References TString::Data(), and fName.

virtual const char* TGaxis::GetOption (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 93 of file TGaxis.h.

References TString::Data(), and fChopt.

virtual const char* TGaxis::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 94 of file TGaxis.h.

References TString::Data(), and fTitle.

static Int_t TGaxis::GetMaxDigits (  )  [static]

Int_t TGaxis::GetNdiv (  )  const [inline]

Definition at line 96 of file TGaxis.h.

References fNdiv.

Double_t TGaxis::GetWmin (  )  const [inline]

Definition at line 97 of file TGaxis.h.

References fWmin.

Double_t TGaxis::GetWmax (  )  const [inline]

Definition at line 98 of file TGaxis.h.

References fWmax.

Float_t TGaxis::GetTickSize (  )  const [inline]

Definition at line 99 of file TGaxis.h.

References fTickSize.

virtual void TGaxis::ImportAxisAttributes ( TAxis *  axis  )  [virtual]

void TGaxis::LabelsLimits ( const char *  label,
Int_t &  first,
Int_t &  last 
)

virtual void TGaxis::Paint ( Option_t *  chopt = ""  )  [virtual]

Reimplemented from TLine.

virtual void TGaxis::PaintAxis ( Double_t  xmin,
Double_t  ymin,
Double_t  xmax,
Double_t  ymax,
Double_t &  wmin,
Double_t &  wmax,
Int_t &  ndiv,
Option_t *  chopt = "",
Double_t  gridlength = 0,
Bool_t  drawGridOnly = kFALSE 
) [virtual]

virtual void TGaxis::Rotate ( Double_t  X,
Double_t  Y,
Double_t  CFI,
Double_t  SFI,
Double_t  XT,
Double_t  YT,
Double_t &  U,
Double_t &  V 
) [virtual]

virtual void TGaxis::SavePrimitive ( ostream &  out,
Option_t *  option = "" 
) [virtual]

Reimplemented from TLine.

void TGaxis::SetFunction ( const char *  funcname = ""  ) 

void TGaxis::SetOption ( Option_t *  option = ""  ) 

void TGaxis::SetLabelColor ( Int_t  labelcolor  )  [inline]

Definition at line 111 of file TGaxis.h.

References fLabelColor.

void TGaxis::SetLabelFont ( Int_t  labelfont  )  [inline]

Definition at line 112 of file TGaxis.h.

References fLabelFont.

void TGaxis::SetLabelOffset ( Float_t  labeloffset  )  [inline]

Definition at line 113 of file TGaxis.h.

References fLabelOffset.

void TGaxis::SetLabelSize ( Float_t  labelsize  )  [inline]

Definition at line 114 of file TGaxis.h.

References fLabelSize.

static void TGaxis::SetMaxDigits ( Int_t  maxd = 5  )  [static]

virtual void TGaxis::SetName ( const char *  name  )  [virtual]

virtual void TGaxis::SetNdivisions ( Int_t  ndiv  )  [inline, virtual]

Definition at line 117 of file TGaxis.h.

References fNdiv.

virtual void TGaxis::SetMoreLogLabels ( Bool_t  more = kTRUE  )  [virtual]

virtual void TGaxis::SetNoExponent ( Bool_t  noExponent = kTRUE  )  [virtual]

virtual void TGaxis::SetDecimals ( Bool_t  dot = kTRUE  )  [virtual]

void TGaxis::SetTickSize ( Float_t  ticksize  )  [inline]

Definition at line 121 of file TGaxis.h.

References fTickSize.

void TGaxis::SetGridLength ( Float_t  gridlength  )  [inline]

Definition at line 122 of file TGaxis.h.

References fGridLength.

void TGaxis::SetTimeFormat ( const char *  tformat  ) 

void TGaxis::SetTimeOffset ( Double_t  toffset,
Option_t *  option = "local" 
)

virtual void TGaxis::SetTitle ( const char *  title = ""  )  [virtual]

void TGaxis::SetTitleOffset ( Float_t  titleoffset = 1  )  [inline]

Definition at line 126 of file TGaxis.h.

References fTitleOffset.

void TGaxis::SetTitleSize ( Float_t  titlesize  )  [inline]

Definition at line 127 of file TGaxis.h.

References fTitleSize.

void TGaxis::SetTitleFont ( Int_t  titlefont  )  [inline]

Definition at line 128 of file TGaxis.h.

References TAttText::SetTextFont().

void TGaxis::SetTitleColor ( Int_t  titlecolor  )  [inline]

Definition at line 129 of file TGaxis.h.

References TAttText::SetTextColor().

void TGaxis::SetWmin ( Double_t  wmin  )  [inline]

Definition at line 130 of file TGaxis.h.

References fWmin.

void TGaxis::SetWmax ( Double_t  wmax  )  [inline]

Definition at line 131 of file TGaxis.h.

References fWmax.


Member Data Documentation

Double_t TGaxis::fWmin [protected]

Definition at line 42 of file TGaxis.h.

Referenced by GetWmin(), operator=(), Paint(), SavePrimitive(), SetFunction(), SetWmin(), and TGaxis().

Double_t TGaxis::fWmax [protected]

Definition at line 43 of file TGaxis.h.

Referenced by GetWmax(), operator=(), Paint(), SavePrimitive(), SetFunction(), SetWmax(), and TGaxis().

Float_t TGaxis::fGridLength [protected]

Definition at line 44 of file TGaxis.h.

Referenced by GetGridLength(), operator=(), Paint(), SetGridLength(), and TGaxis().

Float_t TGaxis::fTickSize [protected]

Definition at line 45 of file TGaxis.h.

Referenced by DrawAxis(), GetTickSize(), operator=(), PaintAxis(), SetTickSize(), and TGaxis().

Float_t TGaxis::fLabelOffset [protected]

Definition at line 46 of file TGaxis.h.

Referenced by DrawAxis(), GetLabelOffset(), operator=(), PaintAxis(), SetLabelOffset(), and TGaxis().

Float_t TGaxis::fLabelSize [protected]

Definition at line 47 of file TGaxis.h.

Referenced by DrawAxis(), GetLabelSize(), operator=(), PaintAxis(), SetLabelSize(), and TGaxis().

Float_t TGaxis::fTitleOffset [protected]

Definition at line 48 of file TGaxis.h.

Referenced by DrawAxis(), GetTitleOffset(), operator=(), SetTitleOffset(), and TGaxis().

Float_t TGaxis::fTitleSize [protected]

Definition at line 49 of file TGaxis.h.

Referenced by DrawAxis(), GetTitleSize(), operator=(), SetTitleSize(), and TGaxis().

Int_t TGaxis::fNdiv [protected]

Definition at line 50 of file TGaxis.h.

Referenced by GetNdiv(), operator=(), Paint(), SavePrimitive(), SetNdivisions(), and TGaxis().

Int_t TGaxis::fLabelColor [protected]

Definition at line 51 of file TGaxis.h.

Referenced by DrawAxis(), GetLabelColor(), operator=(), SavePrimitive(), SetLabelColor(), and TGaxis().

Int_t TGaxis::fLabelFont [protected]

Definition at line 52 of file TGaxis.h.

Referenced by DrawAxis(), GetLabelFont(), operator=(), SavePrimitive(), SetLabelFont(), and TGaxis().

TString TGaxis::fChopt [protected]

Definition at line 53 of file TGaxis.h.

Referenced by GetOption(), operator=(), Paint(), PaintAxis(), SavePrimitive(), SetOption(), and TGaxis().

TString TGaxis::fName [protected]

Definition at line 54 of file TGaxis.h.

Referenced by GetName(), operator=(), SetName(), and TGaxis().

TString TGaxis::fTitle [protected]

Definition at line 55 of file TGaxis.h.

Referenced by GetTitle(), operator=(), SetTitle(), and TGaxis().

TString TGaxis::fTimeFormat [protected]

Definition at line 56 of file TGaxis.h.

Referenced by operator=(), PaintAxis(), SetTimeFormat(), SetTimeOffset(), and TGaxis().

TString TGaxis::fFunctionName [protected]

Definition at line 57 of file TGaxis.h.

Referenced by operator=(), PaintAxis(), SetFunction(), and TGaxis().

TF1* TGaxis::fFunction [protected]

Definition at line 58 of file TGaxis.h.

Referenced by GetFunction(), operator=(), PaintAxis(), SetFunction(), and TGaxis().

TAxis* TGaxis::fAxis [protected]

Pointer to function computing axis values.

Definition at line 59 of file TGaxis.h.

Referenced by ImportAxisAttributes(), operator=(), PaintAxis(), and TGaxis().

static Int_t TGaxis::fgMaxDigits [static, protected]

pointer to original TAxis axis (if any)

Definition at line 61 of file TGaxis.h.

Referenced by GetMaxDigits(), PaintAxis(), and SetMaxDigits().

TF1* TGaxis::fFunction [protected]

Definition at line 58 of file TGaxis.h.

TAxis* TGaxis::fAxis [protected]

Pointer to function computing axis values.

Definition at line 59 of file TGaxis.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1