Re: [ROOT] Histgram's title.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jan 19 2001 - 16:11:34 MET


Hi Giuseppe,
Two solutions.

 - If you have a canvas open where you want to draw the histogram h
   Toggle the option "Show Histogram Title" in the canvas "Options" menu.

 - or from the command line, do
   gStyle->SetOptTitle(0);
   h->Draw();

Rene Brun

Giuseppe.LoRe@ct.infn.it wrote:
> 
> Hi rooters,
> I make an  histogram with a title, example:
> TH1F *h = new TH1F("h", "title", 100, 2, 3).
> I save h into a file.
> After I want to read h from that file and draw it, but without the title.
> How can I do that?
> Best regards,
> Giuseppe Lo Re.



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