[ROOT] Fixed font size

From: Anton Fokin (anton.fokin@smartquant.com)
Date: Sun Feb 04 2001 - 12:53:27 MET


Hi Rene and rooters,

if I do

    Hist.GetXaxis()->SetTitle("StdDev");
    Hist.GetYaxis()->SetTitle("Expected return");

I get the titles. Now if I set

    Hist.GetXaxis()->SetTitle("StdDev");
    Hist.GetXaxis()->SetTitleFont(43);
    Hist.GetXaxis()->SetTitleSize(14);

    Hist.GetYaxis()->SetTitle("Expected return");
    Hist.GetYaxis()->SetTitleFont(43);
    Hist.GetYaxis()->SetTitleSize(14);

The axis titles disapper completely. Meanwhile these settings, e.g. Font=43
and Size=14 work fine for axis labels and ttext.

Any comments?

Regards,
Anton

http://www.smartquant.com



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET