11void ReverseXAxis (
TH1 *
h);
12void ReverseYAxis (
TH1 *
h);
16 TH2F *hpxpy =
new TH2F(
"hpxpy",
"py vs px",40,-4,4,40,-4,4);
19 for (
Int_t i = 0; i < 25000; i++) {
29void ReverseXAxis(
TH1 *
h)
32 h->GetXaxis()->SetLabelOffset(999);
33 h->GetXaxis()->SetTickLength(0);
41 h->GetXaxis()->GetXmin(),
42 h->GetXaxis()->GetXmax(),
48void ReverseYAxis(
TH1 *
h)
51 h->GetYaxis()->SetLabelOffset(999);
52 h->GetYaxis()->SetTickLength(0);
58 gPad->GetUxmin()-0.001,
60 h->GetYaxis()->GetXmin(),
61 h->GetYaxis()->GetXmax(),
void SetLabelOffset(Float_t labeloffset)
TH1 is the base class of all histogram classes in ROOT.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)}
Int_t Fill(Double_t)
Invalid Fill method.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
This is the base class for the ROOT Random number generators.