last-modified: 2019-04-28 (日) 18:36:58 (1834d)[変更箇所]
.rootrcでマクロのパスを通しておいて、そこにrootlogon.Cをおいておけばよい。
.rootrcで以下のような行を書く。
Unix.*.Root.MacroPath: .:~/exp/root/macros:$(ROOTSYS)/macros:
rootlogon.Cは以下のような感じ。
{ gROOT->SetStyle("Plain"); gStyle->SetPalette(1);//change color palette for Draw("col") gStyle->SetOptFit(1); }