Re: [ROOT] 3.02, 3.03 SaveAs differences?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jan 23 2003 - 15:00:14 MET


Andreas,

Move to 3.04 or 3.05

Rene Brun

Andreas Salzburger wrote:
> 
> dear root talkers,
> 
> i came across the following:
> First i create a Canvas, then i create an empty histogram, draw a
> TGraphErrors into it and fit with a specific function. Until here,
> everything's ok. Then i want to draw the entire stuff and save it.
> 
> like
> 
> TCanvas*  pt = ...
> TF1* ...
> 
> TGraphErrors* graph = (.....);
> graph->Fit(iffunc, "R+");
> iffunc->SetLineColor(1);
> graph->Draw("P1e");
> 
> pt->SaveAs("test.eps")
> 
> within this line it crashes with 3.03, but it does exactly what i want
> with 3.02/07 ...
> 
> i have no idea about it,
> perhaps anyone came across the same thing and may give me an advice.
> thanks,
> 
> andreas



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