[ROOT] TGraph(Errors) title behaviour

From: Bram Wijngaarden (dwijngaa@hef.kun.nl)
Date: Fri Mar 07 2003 - 16:50:26 MET


Hi all,

I'm trying to plot a title above my TGraphErrors using
TGraphErrors* graph = [...]
graph->GetHistogram()->SetTitle("My Title");

It shows some eratic behaviour - if I call
graph->Draw("ap");
i.e., draw markers and axes, I do get the title, but if I draw a frame
first and then call
gPad->DrawFrame(0,0,30,1);
graph->Draw("p");
it draws the graph but not the title.

Does anyone know how I can get my title up there but keep my custom frame?
I'm using root version 3.05/02.

Cheers,
Bram

-
D.A. Wijngaarden	Meijhorst 6422
AiO KUN-EHEF		6537 LE Nijmegen
Experiment: D0		The Netherlands
Work phone: +31 24 365 2822
Fax: +31 24 365 2191
"Fuimus" - Robert the Bruce



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET