two cosmetic questions

Chris Jillings (chris@owl.phy.queensu.ca)
Fri, 10 Jul 1998 09:34:22 -0400 (EDT)


Hi,
I am trying to make nice plots for a document. My canvas is divided
into two pads, one above the other. To make the labels large enough to
read on paper, I use

gStyle->SetLabelSize(0.08);
gStyle->SetLabelSize(0.08,"yaxis");

The problem is the x-axis labels get pushed down, out of the pad. If
they are moved up to make them visible, they collide with the numbers.
I think my solution is to move the frame higher up in the pad. (I don't
use a title on the pads.) How do I do this in an automatic way?

The second question is about getting axis information. How do I get the
range of the y-axis. I have tried
ymax = p1->GetUymax();
ymin = p1->GetUymin();
and it doesn't seem to work. Neither does TPad::GetRangeAxis().

Any ideas?

Thanks,

Chris

=================================================================
= =
= Chris Jillings =
= Department of Physics phone/voice mail: (613) 545-6000x4805 =
= Queen's University fax: (613) 545-6813 =
= Kingston, Ontario email: chris@sno.phy.queensu.ca =
= Canada, K7L 3N6 web: http://sno.phy.queensu.ca =
= =
=================================================================