This tutorial illustrates how to create an histogram with polygonal bins (TH2Poly).
The bins are boxes.
}
}
for (i = 0; i<300000; i++) {
h2p->Fill(50*
ran.Gaus(2.,1),
ran.Gaus(2.,1));
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
2D Histogram with Polygonal Bins
This is the base class for the ROOT Random number generators.
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.
- Author
- Olivier Couet
Definition in file th2polyBoxes.C.