Re: [ROOT] What is the command to save a ps file?

From: Krzysztof Wozniak (wozniak@chall.ifj.edu.pl)
Date: Thu Jun 14 2001 - 02:29:26 MEST


On Wed, 13 Jun 2001, Kai Yi wrote:

> Hi, all experts,
>     I made a script file to project several 1D hist from a ntuple, between
> these hist script, I want a command to save this hist to a ps or gif
> file.(I can do it from the menu, but it is better if I can find a command
> to put it in my script file).
> Thanks in advance!
> 
> Kai Yi
> 
Use:
 yourcanvas->SaveAs("myfile.ps");
or 
 yourcanvas->SaveAs("myfile.eps"); // if you prefere eps format

Krzysztof



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