Hi,
I’m trying to dandify some plots for a publication. I’ve arrived at the code below through an iterative process. I’m trying to make one final adjustment, I need to make the size of the X axis title larger. I’m finding that the GetXaxis()->SetTitleSize() call below has no effect on the output size as coded. If I remove the UseCurrentStyle command, then the size changes, but other parts of the plot change.
Apologies for what I’m sure is a stupid question, but can you point out the error in my ways…
thanks
Ken
gStyle->SetStatX(.9);
gStyle->SetStatY(.9);
gStyle->SetStatW(.35);
gStyle->SetStatH(.25);
gStyle->SetStatFormat("6.4f");
gStyle->SetTitleFontSize(.08);
gStyle->SetLabelSize(.05, "XY");
gStyle->SetStatFormat("6.3g");
hist1a->SetXTitle("seconds");
hist1a->GetXaxis()->SetTitleSize(.15);
hist1a->Draw();
hist1a->UseCurrentStyle();
hist1a->SetNdivisions( -204);
c1.Update();c1->Print("loadgen.ps(","ps"); c1.Clear();