SetDrawOption() for TGraphErrors

Hi all,

I have a bunch of TGraphErros in a root file. When I open the root file in a TBrowser and try to draw the graphs by double-clicking I just get an empty canvas. I know that I can write a macro and use gr->Draw(“ap”) to draw this graphs.

I have tried to use gr->SetDrawOption(“ap”); when creating my root file. and again when I open this file in a TBrowser double-clicking doesn’t work.

is there a way to “preset” the draw option for the graphs?

thanks,
Aram.

You can specify options like “ap” in the top left corner box "Option"
of the browser.
An alternative is to specify
TGraph.BrowseOption : ap
in your .rootrc or system.rootrc file

Rene