I wonder what I have to do in order to have my histograms drawn with specific statistics info, and with the “hist” option, or with any display option for that matter.
I know I can run gStyle->SetOptStat(…) for the former and type “hist” in the object browser for the latter, but I’d like to know if I can pre-pack these options, so that I don’t have to type them over and over each time I start root.
Thanks Bernard, but maybe I wasn’t as clear as it should be.
I don’t necessarily want to put a default into the browser – what I want to do is drawing histograms with some default draw values on, without having to set them manually every single time I run root.
Is there maybe any script that root can be configured to read upon its start? This might be some kind of basic knowledge, but unfortunately I don’t have it and couldn’t find it on the root site within half an hour
Btw I used to remember that, for some years now, when I drew a histogram, without any other action, it used to get drawn with the “hist” option. Now this is gone and it is really annoying since points with error bars are not what one usually needs to see. Is there some default action that I’m missing? (I’m running 5.27/06b right now.)
It’s a pity that there are no global drawing options
As for rootlogon.C, I haven’t managed to have it run upon the start of root yet, and from what I read this is a standard issue for many users, but it doesn’t matter anymore.
I admit I’m not clear on this, it might have been indeed an issue of settings on a local machine. If it doesn’t ring any bell then it was most probably a very specific case.