[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990909: GEMPAK postscript driver



>From: "John H. E. Clark" <address@hidden>
>Organization: .
>Keywords: 199909091428.IAA28029

>Steve,
>
>
>My question this time concerns saving the output of GDCROSS as a
>postscript file. It appears that in order to have different sets of
>contours in GDCROSS separate calls must be made for each set. Sets
>after the first now overlay the first. That is no problem when I want
>to create the final diagram in a  window on my terminal. The problem
>now is that I want to save the <bold>entire</bold> plot (with overlays)
>as a <bold>single</bold> postscript file. It seems that I have no
>choice but to generate separate postscript files for each set of
>contours, which is not what I want.
>
>
>Do you have a solution? By the way, thank-you for your help with
>previous GEMPAK problems.
>
>
>John Clark
>

John,

To overlay multiply sets of contours or any graphics in Gempak,
you set the device driver to the desired driver. The first time
you run the program, CLEAR=yes. Then each subsequent time
you run the program, CLEAR=NO.

To create the postscript file, set the DEVICE=ps before running
your sequence of plots, then when finished, run the gpend command.
All of your outpur should be to DEVICE=ps- you cannot send all
of your output to a window first without having to rerun the
entire sequence after you change the DEVICE.

As an example,

DEVICE = PS
CLEAR = YES
GFUNC = TMPC
....
GEMPAK-GDCROSS> run

CLEAR = NO
GFUNC = SPED
....
GEMPAK-GDCROSS> run

GFUNC = RELH
....
GEMPAK-GDCROSS> run

GEMPAK-GDCROSS> exit

% gpend

You must run gpend following the last program to tell the driver to
shut down and put the trailing information in the ps file that tells
the printer that the output is finished.

Note that you can run other gempak programs as well and keep
sending the output to the open postscript file until gpend is run.

Once you close down the device driver, if you start another session with
the same ps output file name, then the output file will over write
a file of the same name if it already exists.

Steve Chiswell