13 TH2F *h2 =
new TH2F(
"h",
"Axes",100,0,10,100,-2,2);
16 TF1 *f1 =
new TF1(
"f1",
"-x",-10,10);
18 A1->
SetTitle(
"axis with decreasing values");
21 TF1 *f2 =
new TF1(
"f2",
"exp(x)",0,2);
29 TF1 *f3 =
new TF1(
"f3",
"log10(x)",1,1000);
R__EXTERN TStyle * gStyle
virtual void SetTitle(const char *title="")
Change the title of the axis.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetTitleSize(Float_t titlesize)
void SetLabelSize(Float_t labelsize)
virtual void Draw(Option_t *option="")
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...
void SetTitleOffset(Float_t titleoffset=1)