Hi Miro, Simply run Root in batch mode. You will not get graphics on the screen, but you will still be able to print your TCanvas on a ps file. Example cd $ROOTSYS/tutorials root -b root > .x gerrors2.C root > c1.Print("c1.ps") You can also do root -b -q myscript.C Rene Brun On Tue, 7 Jan 2003, Miroslav Helbich wrote: > > Dear rooters, > > I have a following problem. > > We save the data "online" from a detector using ROOT I/O and files > (*.root). What we want to do now is to make a bunch of plots in a "ps" > format from a batch mode - eg. drawing histograms from the tree into the > Canvas and then saving results as a postcript files all this done WITHOUT > having to display the canvas on the screen. > > How can I do it? As far as I know the canvas constructor immediately > draws the canvas on the screen. > > Miro > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET