Re: label "Graph"

Rene Brun (Rene.Brun@cern.ch)
Tue, 06 Jan 1998 12:06:40 +0100


Rudolf Wedenig wrote:

> is it possible to remove the "Graph" label from the graph pads?
>
> Rudi

Yes,
By default, a TGraph object is created with the title "Graph".
If gr is a pointer to a TGraph object, you can
gr->SetTitle("");
before drawing the object
or
gr->GetHistogram()->SetTitle("");
once the graph has been drawn.

May be the default should be to have an empty title?

Rene Brun