12#ifndef ROOT_TPaletteAxis
13#define ROOT_TPaletteAxis
static const double x2[5]
static const double x1[5]
#define ClassDef(name, id)
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
void SetTitleOffset(Float_t titleoffset=1)
void SetLabelFont(Int_t labelfont)
void SetTitleSize(Float_t titlesize)
void SetLabelOffset(Float_t labeloffset)
void SetLabelColor(Int_t labelcolor)
void SetLabelSize(Float_t labelsize)
TH1 is the base class of all histogram classes in ROOT.
Mother of all ROOT objects.
The palette painting class.
void Copy(TObject &palette) const
Copy a palette to a palette.
virtual ~TPaletteAxis()
Palette destructor.
virtual void SetLabelSize(Float_t labelsize)
TGaxis fAxis
Palette axis.
void SetHistogram(TH1 *h)
TPaletteAxis & operator=(const TPaletteAxis &)
Assignment operator.
virtual void SetTitleOffset(Float_t titleoffset=1)
TPaletteAxis()
Palette default constructor.
virtual void SetLabelOffset(Float_t labeloffset)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Check if mouse on the axis region.
Int_t GetBinColor(Int_t i, Int_t j)
Returns the color index of the bin (i,j).
virtual void SetLineColor(Color_t linecolor)
Set the line color.
TH1 * fH
! Pointer to parent histogram
virtual void SetLabelColor(Int_t labelcolor)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Check if mouse on the axis region.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void Paint(Option_t *option="")
Paint the palette.
virtual void SetTitleSize(Float_t titlesize)
virtual void UnZoom()
Unzoom the palette.
virtual void SetLineWidth(Width_t linewidth)
Set the line width.
virtual void SetLabelFont(Int_t labelfont)
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Displays the z value corresponding to cursor position py.
Int_t GetValueColor(Double_t zc)
Returns the color index of the given z value.
A TBox with a bordersize and a shadow option.