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