|
| MultiGraph (Int_t graphs, Option_t *opt="") |
|
void | SetXRange (Double_t min, Double_t max) |
|
void | SetYRange (Double_t min, Double_t max) |
|
void | SetMarkerStyle (Style_t marker, Int_t no=-1) |
|
void | SetMarkerSize (Size_t size, Int_t no=-1) |
|
void | SetMarkerColor (Color_t color, Int_t no=-1) |
|
void | SetLineWidth (Width_t width, Int_t no=-1) |
|
void | SetLineAttributes (Style_t style, Width_t width, Color_t color, Int_t no=-1) |
|
void | SetMarkerAttributes (Style_t style, Size_t size, Color_t color, Int_t no=-1) |
|
void | SetLineColor (Color_t color, Int_t no=-1) |
|
void | SetLineStyle (Style_t style, Int_t no=-1) |
|
void | MakeGraph (Option_t *opt="P") |
|
void | MakeGraphs (Int_t no, Option_t *opt="P") |
|
void | SetPoint (Int_t graph, Int_t point, Double_t x, Double_t y) |
|
void | SetPoint (Int_t graph, Int_t point, Double_t x, Double_t ex, Double_t y, Double_t ey) |
|
TAxis * | GetXaxis () |
|
TAxis * | GetYaxis () |
|
TGraphErrors * | GetGraph (Int_t no) const |
|
TMultiGraph * | GetMutliGraph () const |
|
void | Draw (Option_t *opt="") |
|
Int_t | GetNGraphs () const |
|
void | AddHistogram (const TH1 &h, Int_t no=-1) |
|
Definition at line 23 of file MultiGraph.h.
◆ MultiGraph() [1/2]
Hal::MultiGraph::MultiGraph |
( |
| ) |
|
◆ MultiGraph() [2/2]
Hal::MultiGraph::MultiGraph |
( |
Int_t | graphs, |
|
|
Option_t * | opt = "" ) |
make multigraph with many graphs
- Parameters
-
graphs | |
option | of adding graph |
Definition at line 32 of file MultiGraph.cxx.
◆ ~MultiGraph()
Hal::MultiGraph::~MultiGraph |
( |
| ) |
|
|
virtual |
◆ AddHistogram()
void Hal::MultiGraph::AddHistogram |
( |
const TH1 & | h, |
|
|
Int_t | no = -1 ) |
add histogram to this multigraph
- Parameters
-
Definition at line 189 of file MultiGraph.cxx.
◆ Draw()
void Hal::MultiGraph::Draw |
( |
Option_t * | opt = "" | ) |
|
◆ GetGraph()
TGraphErrors * Hal::MultiGraph::GetGraph |
( |
Int_t | no | ) |
const |
◆ GetMutliGraph()
TMultiGraph * Hal::MultiGraph::GetMutliGraph |
( |
| ) |
const |
return pointer to drawn multi graph, if this object has not been drawn
Definition at line 163 of file MultiGraph.cxx.
◆ GetNGraphs()
Int_t Hal::MultiGraph::GetNGraphs |
( |
| ) |
const |
|
inline |
◆ GetXaxis()
TAxis * Hal::MultiGraph::GetXaxis |
( |
| ) |
|
return pointer to temporary X-axs. Thanks to this its possible to set title's/label's font size/font color/offset. However for setting range user must call SetXRange.
- Returns
- pointer to axis
Definition at line 177 of file MultiGraph.cxx.
◆ GetYaxis()
TAxis * Hal::MultiGraph::GetYaxis |
( |
| ) |
|
return pointer to temporary X-axs. Thanks to this its possible to set title's/label's font size/font color/offset. However for setting range user must call SetXRange.
- Returns
- pointer to axis
Definition at line 183 of file MultiGraph.cxx.
◆ MakeGraph()
void Hal::MultiGraph::MakeGraph |
( |
Option_t * | opt = "P" | ) |
|
makes graph with given draw options
- Parameters
-
Definition at line 34 of file MultiGraph.cxx.
◆ MakeGraphs()
void Hal::MultiGraph::MakeGraphs |
( |
Int_t | no, |
|
|
Option_t * | opt = "P" ) |
makes fewgraph with given draw options
- Parameters
-
no | number of graphs to make |
opt | gdraw option |
Definition at line 157 of file MultiGraph.cxx.
◆ SetLineAttributes()
void Hal::MultiGraph::SetLineAttributes |
( |
Style_t | style, |
|
|
Width_t | width, |
|
|
Color_t | color, |
|
|
Int_t | no = -1 ) |
set line attributes
- Parameters
-
style | line style |
width | line width |
color | line color |
no | graph no if -1 aply to all graphs |
Definition at line 145 of file MultiGraph.cxx.
◆ SetLineColor()
void Hal::MultiGraph::SetLineColor |
( |
Color_t | color, |
|
|
Int_t | no = -1 ) |
set marker style
- Parameters
-
color | marker color |
no | graph no if -1 then aply to all graphs |
Definition at line 125 of file MultiGraph.cxx.
◆ SetLineStyle()
void Hal::MultiGraph::SetLineStyle |
( |
Style_t | style, |
|
|
Int_t | no = -1 ) |
set line style
- Parameters
-
style | line style |
no | graph no if -1 then aply to all graphs |
Definition at line 136 of file MultiGraph.cxx.
◆ SetLineWidth()
void Hal::MultiGraph::SetLineWidth |
( |
Width_t | width, |
|
|
Int_t | no = -1 ) |
set line width
- Parameters
-
width | line width |
no | graph no if -1 then aply to all graphs |
Definition at line 114 of file MultiGraph.cxx.
◆ SetMarkerAttributes()
void Hal::MultiGraph::SetMarkerAttributes |
( |
Style_t | style, |
|
|
Size_t | size, |
|
|
Color_t | color, |
|
|
Int_t | no = -1 ) |
set marker attributes
- Parameters
-
style | marker style |
size | marker size |
color | marker color |
no | graph no, if -1 then aplly to all graphs |
Definition at line 151 of file MultiGraph.cxx.
◆ SetMarkerColor()
void Hal::MultiGraph::SetMarkerColor |
( |
Color_t | color, |
|
|
Int_t | no = -1 ) |
set marker color
- Parameters
-
color | marker color |
no | graph no if -1 then aply to all graphs |
Definition at line 103 of file MultiGraph.cxx.
◆ SetMarkerSize()
void Hal::MultiGraph::SetMarkerSize |
( |
Size_t | size, |
|
|
Int_t | no = -1 ) |
set marker size
- Parameters
-
size | marker size |
no | graph no if -1 then aply to all graphs |
Definition at line 92 of file MultiGraph.cxx.
◆ SetMarkerStyle()
void Hal::MultiGraph::SetMarkerStyle |
( |
Style_t | marker, |
|
|
Int_t | no = -1 ) |
set marker style
- Parameters
-
marker | marker style |
no | graph no if -1 then aply to all graphs |
Definition at line 81 of file MultiGraph.cxx.
◆ SetPoint() [1/2]
void Hal::MultiGraph::SetPoint |
( |
Int_t | graph, |
|
|
Int_t | point, |
|
|
Double_t | x, |
|
|
Double_t | ex, |
|
|
Double_t | y, |
|
|
Double_t | ey ) |
set point for given graph
- Parameters
-
graph | graph no |
point | point no |
x | x-value |
ex | x-error |
y | y-value |
ey | y-error |
Definition at line 58 of file MultiGraph.cxx.
◆ SetPoint() [2/2]
void Hal::MultiGraph::SetPoint |
( |
Int_t | graph, |
|
|
Int_t | point, |
|
|
Double_t | x, |
|
|
Double_t | y ) |
set point for given graph
- Parameters
-
graph | graph no |
point | point no |
x | x-value |
y | y-value |
Definition at line 56 of file MultiGraph.cxx.
◆ SetXRange()
void Hal::MultiGraph::SetXRange |
( |
Double_t | min, |
|
|
Double_t | max ) |
◆ SetYRange()
void Hal::MultiGraph::SetYRange |
( |
Double_t | min, |
|
|
Double_t | max ) |
The documentation for this class was generated from the following files: