#include <HistoStyle.h>
|
void | SetAxisValues (Double_t val, Char_t x='x') |
|
void | SetMin (Double_t val) |
|
void | SetMax (Double_t val) |
|
void | SetMinMax (Double_t minVal, Double_t maxVal) |
|
void | SetMarkerProperties (Color_t c, Int_t marker, Size_t size) |
|
void | SetLineProperties (Color_t c, Style_t style, Double_t widgth) |
|
void | SetColor (Color_t c) |
|
void | SetRangeUser (Double_t min, Double_t max, Char_t ax) |
|
void | SetTitles (TString histo, TString xAxis="", TString yAxis="", TString zAxis="") |
|
void | SetAxis (Double_t titleSize, Double_t titleOffset, Double_t labelSize, Double_t labelOffset, Char_t x='x') |
|
void | CenterTitle (Bool_t center=kTRUE, Char_t='x') |
|
void | Apply (TObject &h, Int_t no=0) const |
|
void | SetAntiColor (Bool_t safe=kFALSE) |
|
void | SetTitle (TString title) |
|
AxisStyle & | GetAxisStyle (Char_t x) |
|
FillStyle & | GetFillStyle () |
|
LineStyle & | GetLineStyle () |
|
MarkerStyle & | GetMarkerStyle () |
|
TString | GetTitle () const |
|
void | ExportToXML (XMLNode *node) const |
|
void | ImportFromXML (XMLNode *node) |
|
| ClassDef (HistoStyle, 1) |
|
Bool_t | Find (Int_t bit) const |
|
Style & | operator= (const Style &style)=default |
|
void | ExportToXML (XMLNode *node) const |
|
void | ImportFromXML (XMLNode *node) |
|
| ClassDef (Style, 1) |
|
|
static const unsigned short int | kTitle = 0 |
|
static const unsigned short int | kMin = 1 |
|
static const unsigned short int | kMax = 2 |
|
|
void | SetF (Int_t bit, Float_t val) |
|
void | SetI (Int_t bit, Int_t val) |
|
Float_t | GetF (Int_t bit) const |
|
Int_t | GetI (Int_t bit) const |
|
contains information about histogram/graph styles
Definition at line 25 of file HistoStyle.h.
◆ HistoStyle()
Hal::HistoStyle::HistoStyle |
( |
| ) |
|
|
inline |
◆ ~HistoStyle()
virtual Hal::HistoStyle::~HistoStyle |
( |
| ) |
|
|
inlinevirtual |
◆ Apply()
void Hal::HistoStyle::Apply |
( |
TObject & | h, |
|
|
Int_t | no = 0 ) const |
◆ CenterTitle()
void Hal::HistoStyle::CenterTitle |
( |
Bool_t | center = kTRUE, |
|
|
Char_t | x = 'x' ) |
◆ ExportToXML()
void Hal::HistoStyle::ExportToXML |
( |
XMLNode * | node | ) |
const |
◆ GetAxisStyle()
AxisStyle & Hal::HistoStyle::GetAxisStyle |
( |
Char_t | x | ) |
|
◆ GetFillStyle()
FillStyle & Hal::HistoStyle::GetFillStyle |
( |
| ) |
|
|
inline |
◆ GetLineStyle()
LineStyle & Hal::HistoStyle::GetLineStyle |
( |
| ) |
|
|
inline |
◆ GetMarkerStyle()
◆ GetStyle()
HistoStyle Hal::HistoStyle::GetStyle |
( |
TString | style | ) |
|
|
static |
return predefined style for 1d histogram
- Parameters
-
style | options: 05 - set margins sizes to 0.05 (default optimal) color - set line color/marker color to red circle - set marker to full circle center center axes |
- Returns
Definition at line 63 of file HistoStyle.cxx.
◆ GetTitle()
TString Hal::HistoStyle::GetTitle |
( |
| ) |
const |
|
inline |
◆ ImportFromXML()
void Hal::HistoStyle::ImportFromXML |
( |
XMLNode * | node | ) |
|
◆ SetAntiColor()
void Hal::HistoStyle::SetAntiColor |
( |
Bool_t | safe = kFALSE | ) |
|
sets anti-color if color is set
- Parameters
-
safe | - check if color is not to bright (currenty not used) |
Definition at line 157 of file HistoStyle.cxx.
◆ SetAxis()
void Hal::HistoStyle::SetAxis |
( |
Double_t | titleSize, |
|
|
Double_t | titleOffset, |
|
|
Double_t | labelSize, |
|
|
Double_t | labelOffset, |
|
|
Char_t | x = 'x' ) |
set axis labels and title attributes, negative values are ignored
- Parameters
-
titleSize | |
titleOffset | |
labelSize | |
labelOffset | |
x | axis type x/y or z |
Definition at line 117 of file HistoStyle.cxx.
◆ SetAxisValues()
void Hal::HistoStyle::SetAxisValues |
( |
Double_t | val, |
|
|
Char_t | x = 'x' ) |
|
inline |
set title size, title offset, label size and label offset simultaneously
- Parameters
-
Definition at line 57 of file HistoStyle.h.
◆ SetColor()
void Hal::HistoStyle::SetColor |
( |
Color_t | c | ) |
|
set marker and line color
- Parameters
-
Definition at line 99 of file HistoStyle.cxx.
◆ SetLineProperties()
void Hal::HistoStyle::SetLineProperties |
( |
Color_t | c, |
|
|
Style_t | style, |
|
|
Double_t | widgth ) |
set tile properties, negative values are ignored
- Parameters
-
Definition at line 93 of file HistoStyle.cxx.
◆ SetMarkerProperties()
void Hal::HistoStyle::SetMarkerProperties |
( |
Color_t | c, |
|
|
Int_t | marker, |
|
|
Size_t | size ) |
◆ SetMax()
void Hal::HistoStyle::SetMax |
( |
Double_t | val | ) |
|
◆ SetMin()
void Hal::HistoStyle::SetMin |
( |
Double_t | val | ) |
|
◆ SetMinMax()
void Hal::HistoStyle::SetMinMax |
( |
Double_t | minVal, |
|
|
Double_t | maxVal ) |
◆ SetRangeUser()
void Hal::HistoStyle::SetRangeUser |
( |
Double_t | min, |
|
|
Double_t | max, |
|
|
Char_t | ax ) |
sets range on given axis
- Parameters
-
min | |
max | |
ax | axis label x,y or z |
Definition at line 104 of file HistoStyle.cxx.
◆ SetTitle()
void Hal::HistoStyle::SetTitle |
( |
TString | title | ) |
|
◆ SetTitles()
void Hal::HistoStyle::SetTitles |
( |
TString | histo, |
|
|
TString | xAxis = "", |
|
|
TString | yAxis = "", |
|
|
TString | zAxis = "" ) |
set titles of histogram and axes - NOTE: if lenght of string is zero - this attribute will not be set
- Parameters
-
Definition at line 110 of file HistoStyle.cxx.
◆ kMax
const unsigned short int Hal::HistoStyle::kMax = 2 |
|
static |
◆ kMin
const unsigned short int Hal::HistoStyle::kMin = 1 |
|
static |
◆ kTitle
const unsigned short int Hal::HistoStyle::kTitle = 0 |
|
static |
The documentation for this class was generated from the following files: