Exp11 is a histogram TH1F root [181] Exp11->SetDrawOption("hist e") root [182] Exp11->Draw() root [183] Exp11->GetDrawOption() (const Option_t* 0x5b542c)"" Histogam draws without option "hist e" ============================================================== Dmitry A. Shtol (SND group) Budker Institute of Nuclear Physics On Fri, 30 Apr 2004, Rene Brun wrote something very interesting: > Dmitry, > > I cannot reproduce this problem. Please give more details > > Rene Brun > > "Dmitry A. Shtol" wrote: > > > > This histogram is not from disk file. It is generated in root as the result > > of processing of TTree. > > > > ============================================================== > > Dmitry A. Shtol (SND group) > > Budker Institute of Nuclear Physics > > > > On Thu, 29 Apr 2004, Rene Brun wrote something very interesting: > > > > > Hi Dmitry, > > > > > > I suspect that you click in the browser pane on myhist;1. This is the version > > > that is always taken from the disk file. So calling SetDrawoption will have no > > > effect. You have to import the object in memory and set the option on this > > > object. > > > It is a bit tricky to do this from the browser: click on "myhist;1" first, > > > then go the left pane, double click on "ROOT files" and again on the file name, > > > Then select SetDrawOption on the object "myhist" and not "myhist;1 > > > You can do it also from the command line. > > > > > > Rene Brun > > > > > > > > > "Dmitry A. Shtol" wrote: > > > > > > > > Hi! > > > > I set histogram draw option by TH1::SetDrawOption("....."); (option is > > > > "hist e", for example). But when I draw histogram by TH1::Draw() (or by click > > > > in browser), option is not used and after drawing TH1::GetDrawOption() > > > > returns "". Why? What should I do to draw histogram > > > > through the browser with option what I need ? > > > > > > > > ============================================================== > > > > Dmitry A. Shtol (SND group) > > > > Budker Institute of Nuclear Physics > > > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET