Hello,
why does the following NOT draw the TCanvas from the file on the subpad
of myCanvas ?
(using ROOT 3.03.09)
void draw()
{
TCanvas myCanvas();
myCanvas.Divide(2,3);
TCanvas *c = gFile->Get("CanvasOnFile");
myCanvas.cd(1);
//gROOT->SetSelectedPad(gPad); <-- I also tried this
c->DrawClonePad()
// ??? A new window opens up, c is drawn in the new window :-( ???
}
Thanks for a hint how to do it in a macro, using the mouse and "middle
button" selection works fine.
Thomas
--
Thomas.Eberl@ph.tum.de
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET