When I call one of these functions before drawing anything (say an histogram) it works. But if I call one of these functions after drawing the histogram, only a few attributes are changed. For example, gStyle->SetAxisColor() has no effect. Redrawing the histogram or updating the Pad does not help.
Any idea?
The last command cancels the marker style that I set. My question is what default setting makes that happen? In other words, which function (“gStyle->???”) should I use so that the marker attributes are not changed with gPad->UseCurrentStyle().
Thank you
This is not what I want to do… Let me give more details:
Once a Graph is plotted, I’d like to be able to switch from one style to another one using TStyle functions. for example I want to change the Pad color from green to yellow to red… For this I need to use gPad->UseCurrentStyle() everytime I want to move to another style.
When I do this, I also modify the graph attributes (marker size…) and I don’t want that.
So how can use UseCurrentStyle() after plotting the graph without affecting the graph style? Is there a TStyle function to fix the graph atttributes?