Bug: axis titles

From: Alexander Wagner <a.wagner_at_physik.uni-wuerzburg.de>
Date: Wed, 21 Feb 2007 17:13:27 +0100

Hi!

If I use the options


        TGraph* gr = new TGraph(4);

	gr->SetPoint(0, xmin, ymin);
	gr->SetPoint(1, xmin, ymax);
	gr->SetPoint(2, xmax, ymax);
	gr->SetPoint(3, xmax, ymin);

	gr->GetYaxis()->SetTitle("#delta");
	gr->GetYaxis()->SetTitleFont(42);
	gr->GetYaxis()->SetLabelFont(42);
	gr->GetYaxis()->SetLabelSize(0.03);
	gr->GetYaxis()->SetTitleOffset(1.1);
	gr->GetYaxis()->SetTicks("+-");

----------------------------------------------------------------------

I get axis ticks on both sides of the axis. this is fine. But the title onthe y-axis is allways drawn _inside_ the plot, not outside on the axis as it shoul be. I can change the value of SetTitleOffset() to my liking but I do not get the title left of the axis. Even for negative offsets.

The root version in question is 5.14/00b

-- 

Kind regards,                /                 War is Peace.
                            |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                            |
                            | Theory     : G. Orwell, "1984"
                           /  In practice:   USA, since 2001
Received on Wed Feb 21 2007 - 17:13:51 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 21 2007 - 23:50:01 CET