13void hist016_TH1_different_scales_canvas()
16 TPad *pad1 =
new TPad(
"pad1",
"", 0, 0, 1, 1);
17 TPad *pad2 =
new TPad(
"pad2",
"", 0, 0, 1, 1);
23 TH1F *h2 =
new TH1F(
"h2",
"h2", 100, -3, 3);
25 for (
Int_t i = 0; i < 100000; i++) {
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
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 r
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
void SetLabelColor(Int_t labelcolor)
1-D histogram with a float per channel (see TH1 documentation)
void Draw(Option_t *option="") override
Default Draw method for all objects.
virtual Int_t Fill(Double_t x)
TList * GetListOfFunctions() const
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
void SetFillStyle(Style_t fstyle) override
Set the fill area style.
void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
void Modified(Bool_t flag=true) override
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetX1NDC(Double_t x1)
virtual void SetX2NDC(Double_t x2)
This is the base class for the ROOT Random number generators.