TAttAxis


class description - source file - inheritance tree

class TAttAxis


    public:
TAttAxis TAttAxis() TAttAxis TAttAxis(TAttAxis&) virtual void ~TAttAxis() static TClass* Class() void Copy(TAttAxis& attaxis) virtual Color_t GetAxisColor() virtual Color_t GetLabelColor() virtual Style_t GetLabelFont() virtual Float_t GetLabelOffset() virtual Float_t GetLabelSize() virtual Int_t GetNdivisions() virtual Float_t GetTickLength() virtual Color_t GetTitleColor() virtual Style_t GetTitleFont() virtual Float_t GetTitleOffset() virtual Float_t GetTitleSize() virtual TClass* IsA() const virtual void ResetAttAxis(Option_t* option) virtual void SaveAttributes(ofstream& out, const char* name, const char* subname) virtual void SetAxisColor(Color_t color = 1) virtual void SetLabelColor(Color_t color = 1) virtual void SetLabelFont(Style_t font = 62) virtual void SetLabelOffset(Float_t offset = 0.005) virtual void SetLabelSize(Float_t size = 0.04) virtual void SetNdivisions(Int_t n = 510) virtual void SetTickLength(Float_t length = 0.03) virtual void SetTitleColor(Color_t color = 1) virtual void SetTitleFont(Style_t font = 62) virtual void SetTitleOffset(Float_t offset = 1) virtual void SetTitleSize(Float_t size = .005) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

protected:
Int_t fNdivisions Number of divisions(10000*n3 + 100*n2 + n1) Color_t fAxisColor color of the line axis Color_t fLabelColor color of labels Style_t fLabelFont font for labels Float_t fLabelOffset offset of labels Float_t fLabelSize size of labels Float_t fTickLength length of tick marks Float_t fTitleOffset offset of axis title Float_t fTitleSize size of axis title Color_t fTitleColor color of axis title Style_t fTitleFont font for axis title


See also

TAxis

Class Description

  Manages histogram axis attributes


TAttAxis()

~TAttAxis()

void Copy(TAttAxis &attaxis)

void ResetAttAxis(Option_t *option)

void SaveAttributes(ofstream &out, const char *name, const char *subname)
 Save axis attributes as C++ statement(s) on output stream out

void SetAxisColor(Color_t color)
   Set color of the line axis and tick marks

void SetLabelColor(Color_t color)
   Set color of labels

void SetLabelFont(Style_t font)

void SetLabelOffset(Float_t offset)
   Set distance between the axis and the labels
   The distance is expressed in per cent of the pad width

void SetLabelSize(Float_t size)
   Set size of axis labels
   The size is expressed in per cent of the pad width

void SetNdivisions(Int_t n)
   Set the number of divisions for this axis

void SetTickLength(Float_t length)
   Set tick mark length
   The length is expressed in per cent of the pad width

void SetTitleOffset(Float_t offset)
   Set distance between the axis and the axis title
   Offset is a correction factor with respect to the "standard" value.
   offset = 1  uses the default position that is computed in function
   of the label offset and size.
   offset = 1.2 will add 20 per cent more to the default offset.

void SetTitleSize(Float_t size)
   Set size of axis title
   The size is expressed in per cent of the pad width

void SetTitleColor(Color_t color)
   Set color of axis title

void SetTitleFont(Style_t font)

void Streamer(TBuffer &R__b)
 Stream an object of class TAttAxis.



Inline Functions


              Int_t GetNdivisions()
            Color_t GetAxisColor()
            Color_t GetLabelColor()
            Style_t GetLabelFont()
            Float_t GetLabelOffset()
            Float_t GetLabelSize()
            Float_t GetTitleOffset()
            Float_t GetTitleSize()
            Float_t GetTickLength()
            Color_t GetTitleColor()
            Style_t GetTitleFont()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
           TAttAxis TAttAxis(TAttAxis&)


Author: Rene Brun 12/12/94
Last update: root/base:$Name: $:$Id: TAttAxis.cxx,v 1.2 2000/11/21 16:26:12 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.