Anton Fokin wrote: > > Hi there, > > I couldn't find if it's possible to set draw options for a histo somewhere > outside TH.Draw()? I would like to have different options set for every > histo I have and let a histo draw itself with a corresponding draw option > whenever I use a generall call to TH.Draw(); > > Regards, > > Dr. Anton Fokin > > Division of Cosmic and Subatomic Physics > Lund University > Sweden Hi Anton, Yes, this is possible. Via TObject::SetDrawOption(const char* option) You can do: hist->Draw(some option); hist->SetDrawOption(another option) as many times as you want. SetDrawOption is called by the histogram DrawPanel widget. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET