15 TH2F *h2 =
new TH2F(
"h",
"Axes", 100, 0, 10, 100, -2, 2);
18 TF1 *
f1 =
new TF1(
"f1",
"-x", -10, 10);
20 A1->SetTitle(
"axis with decreasing values");
23 TF1 *f2 =
new TF1(
"f2",
"exp(x)", 0, 2);
25 A2->SetTitle(
"exponential axis");
26 A2->SetLabelSize(0.03);
27 A2->SetTitleSize(0.03);
28 A2->SetTitleOffset(1.2);
31 TF1 *f3 =
new TF1(
"f3",
"log10(x)", 1, 1000);
33 A3->SetTitle(
"logarithmic axis");
34 A3->SetLabelSize(0.03);
35 A3->SetTitleSize(0.03);
36 A3->SetTitleOffset(1.2);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...