37 printf(
"Regenerating...\n");
49 last_histo =
new TH2F(
"h2",
"Mandelbrot [move mouse and press z to zoom, u to unzoom, r to reset]", 200, -2, 2,
79 int event =
gPad->GetEvent();
80 int px =
gPad->GetEventX();
81 int py =
gPad->GetEventY();
84 double xd =
gPad->AbsPixeltoX(px);
85 double yd =
gPad->AbsPixeltoY(py);
117 new TCanvas(
"canvas",
"View Mandelbrot set");
122 gPad->AddExec(
"myexec",
"myexec()");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
2-D histogram with a float per channel (see TH1 documentation)
void SetPadGridX(Bool_t gridx)
void SetPadGridY(Bool_t gridy)