12#ifndef ROOT_TPaletteAxis
13#define ROOT_TPaletteAxis
71 virtual void SetTitle(
const char *title=
"") {
if (
fH)
fH->GetZaxis()->SetTitle(title);
else fAxis.SetTitle(title);}
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
short Width_t
Line width (short).
float Float_t
Float 4 bytes (float).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
Class to manage histogram axis.
TH1 is the base class of all histogram classes in ROOT.
TObject()
TObject constructor.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a box.
TPaletteAxis(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t min, Double_t max)
void Paint(Option_t *option="") override
Paint this box with its current attributes.
virtual void SetAxisColor(Int_t color=1, Float_t alpha=1)
virtual void SetNdivisions(Int_t ndiv=10)
TGaxis fAxis
Palette axis.
void SetHistogram(TH1 *h)
TPaletteAxis & operator=(const TPaletteAxis &)
void SetLineWidth(Width_t width) override
Set the line width.
char * GetObjectInfo(Int_t px, Int_t py) const override
Returns string containing info about the object at position (px,py).
virtual void SetTitle(const char *title="")
virtual void SetMaxDigits(Float_t maxdigits=5)
TPaletteAxis(Double_t x1, Double_t y1, Double_t x2, Double_t y2, TH1 *h)
Int_t GetBinColor(Int_t i, Int_t j)
void Copy(TObject &palette) const override
Copy a Box.
TH1 * fH
! Pointer to parent histogram
TPaletteAxis(Double_t x1, Double_t y1, Double_t x2, Double_t y2, TAxis *ax)
virtual void SetTitleColor(Int_t color=1)
TPaletteAxis(const TPaletteAxis &palette)
virtual void SetLabelFont(Int_t font=42)
virtual void SetTickLength(Float_t length=0.03)
Int_t fLog
Log option: 0 use Logz, 1 is linear, 2 is log.
virtual void SetLabelOffset(Float_t offset=0.005)
virtual void SetTitleOffset(Float_t offset=1)
virtual void SetLabelColor(Int_t color=1)
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
virtual void SetTitleFont(Int_t font=42)
virtual void SetTitleSize(Float_t size=0.035)
Int_t GetValueColor(Double_t zc)
virtual void SetLabelSize(Float_t size=0.035)
TPave()
Pave default constructor.