TGaxis


class description - source file - inheritance tree

class TGaxis : public TLine, public TAttText


    public:
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) TGaxis(const TGaxis&) TGaxis() 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) static TClass* Class() 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) TF1* GetFunction() const Float_t GetGridLength() const Int_t GetLabelColor() const Int_t GetLabelFont() const Float_t GetLabelOffset() const Float_t GetLabelSize() const static Int_t GetMaxDigits() virtual const char* GetName() const Int_t GetNdiv() const virtual const char* GetOption() const Float_t GetTickSize() const virtual const char* GetTitle() const Float_t GetTitleOffset() const Float_t GetTitleSize() const Double_t GetWmax() const Double_t GetWmin() const virtual void ImportAxisAttributes(TAxis* axis) virtual TClass* IsA() const 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(ofstream& out, Option_t* option) void SetFunction(const char* funcname) void SetGridLength(Float_t gridlength) void SetLabelColor(Int_t labelcolor) void SetLabelFont(Int_t labelfont) void SetLabelOffset(Float_t labeloffset) void SetLabelSize(Float_t labelsize) static void SetMaxDigits(Int_t maxd = 5) virtual void SetName(const char* name) virtual void SetNoExponent(Bool_t noExponent = kTRUE) void SetOption(Option_t* option) void SetTickSize(Float_t ticksize) void SetTimeFormat(const char* tformat) void SetTimeOffset(Double_t toffset) virtual void SetTitle(const char* title) void SetTitleOffset(Float_t titleoffset = 1) void SetTitleSize(Float_t titlesize) void SetWmax(Double_t wmax) void SetWmin(Double_t wmin) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fWmin Lowest value on the axis Double_t fWmax Highest value on the axis Float_t fGridLength Length of the grid in NDC Float_t fTickSize Size of primary tick mark in NDC Float_t fLabelOffset Offset of label wrt axis Float_t fLabelSize Size of labels in NDC Float_t fTitleOffset Offset of title wrt axis Float_t fTitleSize Size of title in NDC Int_t fNdiv Number of divisions Int_t fLabelColor Color for labels Int_t fLabelFont Font for labels TString fChopt Axis options TString fName axis name TString fTitle axis title TString fTimeFormat Time format, ex: 09/12/99 12:34:00 TString fFunctionName name of mapping function pointed by fFunction TF1* fFunction !Pointer to function computing axis values TAxis* fAxis !pointer to original TAxis axis (if any) static Int_t fgMaxDigits !Number of digits above which the 10>N notation is used public:
static const enum TGaxis:: kCenterTitle static const enum TGaxis:: kCenterLabels static const enum TGaxis:: kRotateTitle static const enum TGaxis:: kNoExponent

Class Description



Last update: Fri May 14 13:32:38 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.