Hello everybody,
why this does not print anything on the canvas?
TCanvas* c = new TCanvas("c","c",1);
TH1F* h = c->DrawFrame( 1700 , 0 , 2500 , 1.2 );
TText* t = new TText( 0.5 , 0.5 , "Hello World!");
t->Draw();
Thanks.
Hello everybody,
why this does not print anything on the canvas?
TCanvas* c = new TCanvas("c","c",1);
TH1F* h = c->DrawFrame( 1700 , 0 , 2500 , 1.2 );
TText* t = new TText( 0.5 , 0.5 , "Hello World!");
t->Draw();
Thanks.
t->SetNDC(); // root.cern.ch/root/htmldoc/guide … s-of-a-pad