[ROOT] Simple question on graph draw options

From: nozarm (nozarm@jlab.org)
Date: Tue Jan 06 2004 - 16:57:08 MET

Hi all,

I am running root version 3.10/02 built on my desktop, running rh9.0.

Is there a way to set the default drawing options for graphs in a given 
root session?

In a macro, I create a set of graphs which I draw with the "AP" option. 
  I save these graphs in a root file for later viewing.  When viewing 
these newly created graphs (in the same or a new root session) using the 
browser, the graphs are drawn with the "APL" option by default.   I 
tried using gStyle->SetDrawOption("AP"); even though I did not get any 
errors, when clicking on the graph names in the browser, the graphs were 
still drawn with the "APL" option.  When looking in the TStyle.cxx, I 
see that the SetDrawOption method is not implemented.   I tried adding 
the method in the appropriate files (TStyle.cxx, TStyle.h), recompiled 
root and reran it, but got the same old results, i.e. graphs are still 
drawn with the "ALP" option...

I might be barking up the wrong tree, or there may be a simple 
solution...  Any suggestions would be appreciated.

Best wishes,

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET