Display a 3D histogram using GL (box option).
{
TPaveLabel *title =
new TPaveLabel(0.04, 0.86, 0.96, 0.98,
"\"glbox\" and \"glbox1\" options for TH3.");
TH3F *
h31 =
new TH3F(
"h31",
"h31", 10, -1, 1, 10, -1, 1, 10, -1, 1);
gxy->SetParameters(1, 0, 1, 0, 0.3);
h31->FillRandom(
"gaus2");
TH3F *
h32 =
new TH3F(
"h32",
"h32", 10, -2, 2, 10, -1, 1, 10, -3, 3);
g3->SetParameters(1, 0, 1, 0, 1, 0, 1);
h32->FillRandom(
"gaus3");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
A 3-Dim function with parameters.
3-D histogram with a float per channel (see TH1 documentation)
The most important graphics class in the ROOT system.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
void SetCanvasPreferGL(Bool_t prefer=kTRUE)