Re: Saving canvas with functions like script

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Thu, 03 Feb 2005 10:41:12 +0100


Dmitry,

Could you

   -indicate which version of ROOT
   -the shortest possible running script creating a canvas with the TH1/TF1 that gives a wrong canvas.C

Rene Brun

Dmitry A. Shtol wrote:
> Hi!
> I tried to save canvas as *.C file. There were functions drown on canvas.
> Thif functions plot were not saved. Below is the part of a code:
>
> TF1 *VE20p = new TF1("VE20p","",115.118,1151.18);
> VE20p->SetFillColor(19);
> VE20p->SetFillStyle(0);
> VE20p->SetLineWidth(3);
> VE20p->Draw("same");
>
> This is for every function. But there are no formula and parameters. Why?
>
Received on Thu Feb 03 2005 - 10:50:41 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET