TAttAxis


class description - source file - inheritance tree

class TAttAxis


    public:
TAttAxis TAttAxis() TAttAxis TAttAxis(TAttAxis&) virtual void ~TAttAxis() 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 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 SetTitleOffset(Float_t offset = 1) virtual void SetTitleSize(Float_t size = .005) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(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


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 Text_t *name, const Text_t *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 and axis title

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 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()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
           TAttAxis TAttAxis(TAttAxis&)


Author: Rene Brun 12/12/94
Last update: 2.23/04 08/10/99 22.54.26 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.