[ROOT] How can I save different plots in a single ps file?

From: Bernard Andrieu (andrieu@in2p3.fr)
Date: Fri Apr 05 2002 - 12:49:52 MEST


Hello,

during a root session, I would like to save some (but not all) of the
plots I'm making on the screen on a single ps file. Furthermore, I want
to decide to save a given plot only AFTER I've seen it.

Reading the root documentation, I've found :
- how to save a single plot on a ps file, but it creates as many ps
files as there are plots
- how to save many pictures in a single ps file (in the "How to use the
PostScript interface" web page), but you need to know BEFORE which plot
you want to save.
so none of these methods answers my question.

In PAW, I used to do that very simply. I had put in my pawlogon.kumac
the following two lines:

FORTRAN/FILE 66 ./paw.ps      
ALIAS/CR ops 'exec ~/paw/paw#PRTPOST'

and I had a paw.kumac containing the following macro:

MACRO
PRTPOST                                                                                                            
  META -66 -111
  PIC/PLOT ' '
  META 0
RETURN                                                                                                                   

then I only had to do "ops" at the command line to do what I want.

Since it's not possible to do simpler, can anybody tell me how to do at
least as simple as that in ROOT?

Thank you, 
      Bernard Andrieu



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET