Hello everybody,
I encountered a problem with the TFrame. I would like to remove the black frame around the TH1 histogram, and if I put this code to the interpreter line-by-line, everything works well:
TH1F *h=new TH1F("h","h",10,0,10);
h->Draw("histo");
gPad->GetFrame()->SetLineColor(0);
gPad->Modified();
but when I write absolutely same commands in macros, the frame color does not changes.
Any ideas?
_ROOT Version: 6.22/06
Platform: x86-64
Compiler: g++