Dear Rooters,
I'm tryng to make a "dynamic" canvas.
I have an array of TBox and I want to plot it in a canvas, modify them and plot again.
My problem is how to upload the canvas. I'm using the TApplication and
what happen is that when I call the method Run(), the execution of the
code seems does not proceed.
I'm working on a compiled code.
Here the code:
main(int argc, char** argv){
cout << "--> Initialization..." << endl;
TApplication app("App", &argc, argv);
FileReader FileIn("rates.dat");
gROOT->SetStyle("Plain");
TCanvas canvOne("canvOne", "One");
gPad->Range(-2000,
-2000,
2000, 2000);
TCanvas cavTwo("canvTwo", "Two");
gPad->Range(-2000,
-2000,
2000, 2000);
app.Run();
}
Thanks for your help
Vito Received on Fri Oct 16 2009 - 18:49:37 CEST
This archive was generated by hypermail 2.2.0 : Sat Oct 17 2009 - 11:50:03 CEST