Preliminary demo for showing Timur's GL plots in EVE.
void glplot()
{
auto f2 =
new TF2(
"f2",
"x**2 + y**2 - x**3 -8*x*y**4", -1., 1.2, -1.5, 1.5);
f2->SetFillColor(45);
x->SetPlot(f2,
"glsurf4");
x->RefMainTrans().MoveLF(2, 1);
auto h31 =
new TH3F(
"h31",
"h31", 10, -1, 1, 10, -1, 1, 10, -1, 1);
auto gxy =
new TF3(
"gaus2",
"xygaus");
gxy->SetParameters(1, 0, 1, 0, 0.3);
h31->FillRandom("gaus2");
h31->SetFillColor(2);
x->SetPlot(h31,
"glbox");
x->RefMainTrans().MoveLF(2, -1);
}
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
Description of TEvePlot3D.
3-D histogram with a float per channel (see TH1 documentation)
- Author
- Matevz Tadel
Definition in file glplot.C.