[ROOT] X-axis title with 3.05.07

From: Agnes Lundborg (agnes.lundborg@tsl.uu.se)
Date: Tue Aug 12 2003 - 13:24:26 MEST


Hallo.

With a (for me) new version of root (3.05.07), I don't get the x-axis to show where it used to show in older versions. I.e. doing the same things I don't get the same result. I don't know what changed for the axis part and I don't manage to get the axis to show.
I have the settings:

gStyle->SetLabelSize(0.05,"X");
gStyle->SetTitleXSize(0.05);

The axis title has been set either using
h->GetXaxis()->SetTitle("title");
or
TAxis *xaxis=h->GetXaxis();
xaxis->SetTitle("title");

I have tested the margin to see if the title has disappeared outside the pad
gStyle->SetPadBottomMargin(0.3);
but that doesn't seem to be the problem.
Any ideas?

Agnes Lundborg, Uppsala University



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET