Hi Mark, Use GetDrawOption instead of GetOption. Rene Brun Mark.Hayes@desy.de wrote: > > Hi All, > > Quick technical question. > > If I draw a TH1-style plot to a pad and then change the options using > the DrawPanel using the interactive stuff, how do I access the changes > made to the plot? > As far as I can tell they are hidden in a TObjOptLink as part of the pad > TList, whose pointer I can't get hold of (legally) and this kind of > solution: > > plot_pad->GetListOfPrimitives()->FindObject(drawn_object)->GetOption() > > just returns the original object options. > > Why do I need this? I have written a GUI which displays and updates > plots continuously and the users want to use DrawPanel to change the > draw options - and then save them as new defaults. > > Thanks, > Mark Hayes
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET