[ROOT] Modifying Stat Box of an histo

From: GENTIT Francois-Xavier DAPNIA (GENTIT@dapnia.cea.fr)
Date: Mon Oct 16 2000 - 15:09:43 MEST


  Dear Rooters,
  How to have an histogram printed with a stat box written with a given Font
and a given Font size ? I know how to do it with the right button of the
mouse, opening "SetTextAttributes". But how to do it in CINT, before
printing the histogram ? I have tried :

  gStyle->SetTextFont(22);
  gStyle->SetTextSize(0.02);
  h1 = new TH1F("....
  h1->Draw();

  but it has no effect. Thanks for your help.

          F.X. Gentit
          DAPNIA/SPP CEN Saclay
          tel : 01 69 08 30 38     fax : 01 69 08 64 28
          web : http://home.cern.ch/~gentit/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET