Some things sync'd with gStyle, others not?

From: Cedric Sodhi <manday_at_gmx.net>
Date: Sun, 4 Apr 2010 11:39:40 +0200


Hello, I wonder by what rule gStyle comes into effect. The manual isn't very elaborate on it and only brings examples of where to use gStyle.

I first thought gStyle served as a global "template" which settings for a current drawing operation are fetched from.

So I thought when I had to draw several subsequent lines of the same style and color I simply set the correct values in gStyle

gStyle->SetLineWidth...
gStyle->SetLineColor...
etc...

and then draw the lines, so I wouldn't have to set their styles individually.

As someone who actually understands the usage of gStyle you will by now know what my Problem is: Not only the lines had their style changed as I hoped they would, but also some other elements of already drawn objects, including ones on other canvases, most notably the Title-Paves had their Style changed to.

Other Elements then, didn't change and I fail to see the pattern.

Hence, my questions:

1.) Is there a way to use sort of a global template as I intended to without affecting already drawn objects? 2.) What rule governs the application of gStyle?

Thanks Received on Sun Apr 04 2010 - 11:39:46 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 04 2010 - 17:50:02 CEST