Postscript

Home ] Up ] General ] Short ] Syntax ] [ Postscript ] Hints ] Cursor ] DSN ] Arithmetik ] Line Modes ] Colours ] Polar ] 2Dim ] 3Dim ] Analyzers ] Library ] Types ] Text ] Graphic ] Inbed ] Fit ] Presentation ] Extend ] Concepts ] Dynamic ] Listmode ] Macros ] Goosydata ] Online ] Commands (List) ] Commands (Details) ] Install ] MSWindows ] Problems ]

GSI
FRS

 

 

SATAN Help

HANDLING OF POSTSCRIPT FILES FOR PLOTTING OR IMBEDDING

The command "GCOPY" produces a softcopy of the picture from the actual figure on the screen, either as METAFILE or as EPS (encapsulated postscript) file.

Per default the postscript file is multicolored and unlimited in size. The METAFILE is a direct copy of the presentation from the screen.

The command "GPLOT / DEV(P60)" sends a picture directly to the printer P60. (On WINDOWS the plot is sent to the default plotter. The name of the plotter specified in the GPLOT command is used to define the graphic parameters, e.g. the size and the supported colors.)

The command "GPLOT / DEV(POST)" or "GPLOT / DSN(dsn.EPS)" allows to produce a postscript file of the picture without drawing on the screen. This file can be used
1. for sending the picture on a printer which is not known to GRAF,
2. for imbedding the picture in a text file (e.g. TEX or WORD).

The preparation of softcopies in POSTSCRIPT format is described in more detail in the following sections:

 

***********************************************************************
Use of GCOPY
***********************************************************************

The following remarks should be considered:

1. Direct output on printers and plotters 
GCOPY / DEV(P82) sends the postcript file directly to the default plotter. (The name of the plotter specified in the GCOPY command is used to define the graphic parameters, e.g. the size and the supported colors.)

2. Preparing postscript datasets for later output on printers
We assume that you want to copy the picture from the screen to the printer in maximum size to use all the paper size. Please use the following rules:
o Use the command "GSET / PLOTFRAME(PORT)" in order to adapt to the POSTSCRIPT plotter standard. This is the default plotframe *** option which is active anyhow when you start SATAN.
o Select the softcopy size by the command "GCOPY / SIZE(A4) ON". ("A4" is given as an example for A4 printers.)
o Draw the picture on the screen in any size, e.g. by the command "GDISP".
o Produce a softcopy of the picture from the screen in the selected size by the command "GCOPY".

3. Imbedding of postscript files (e.g. in TEX or WORD files)
We assume that you want to produce a copy from the screen without modifying neither orientation nor size. Please use the following rules:
o Use the command "GSET / PLOTFRAME(NONE)"
o Switch the softcopy on with "GCOPY / SIZE(NONE) ON". 
o Draw the picture on the screen, e.g. by the command "GDISP / SCALING(s)". The parameter s specifies the length of the x axis (= s * 20 cm).
o Produce a direct softcopy of the picture from the screen by the command "GCOPY".

4. Automatic copy on EPS file.
When the command GCOPY/AUTO has been entered, every picture displayed on the screen will automatically be copied to an EPS file with a default name.
Example:
    GCOPY / AUTO
    GREAD / DSN(...)
    GDISP 
    GREAD / DSN(...)
    GDISP


***********************************************************************

Use of GPLOT
***********************************************************************

The following remarks should be considered:

1. Direct output on printers and plotters (not yet available on WINDOWS)
In this case, the orientation of the picture has to be chosen in a way to adapt best to the paper area or to follow the "PORT" or "LAND" options of the "GPLOT" command. An "absolute" orientation in space is not defined.

o The initial default parameters after starting GRAF should be correct for this application. Thus, no action is required under normal conditions.
o In case of problems use the command: "GSET / PLOTFRAME(PORT)" in order to adapt to the POSTSCRIPT standard. (Never use "GSET / PLOTFRAME(LAND)" or "GSET / PLOTFRAME(NONE)" !!!)

If you want to force LANDSCAPE or PORTRAIT orientation of the plot, please use GPLOT / LAND or GPLOT / PORT.

2. Preparing postscript datasets for later output on printers
If you need to prepare a postscript dataset to be sent to a printer later, please use the following rules:

o Use the command "GSET / PLOTFRAME(PORT)" in order to adapt to the POSTSCRIPT plotter standard. This is the default plotframe *** option which is active anyhow when you start SATAN.
o Limit the maximum size by the command "GSET / SIZE(A4)". ("A4" is given as an example for A4 printers.)

If you want to force LANDSCAPE or PORTRAIT orientation of the plot, please use GPLOT / LAND or GPLOT / PORT.

3. Imbedding of postscript files (e.g. in TEX or WORD files)
In this case, you do not like to rotate the whole picture. An "absolute" orientation is defined by the text into which the picture is to be imbedded.

o The initial parameters after starting GRAF should be correct.
o However, if you limit the size by "GSET / SIZE(xx)" you must enter the command "GSET / PLOTFRAME(NONE)" in order to obtain correct results.

If you want to produce a postscript file in black and white only, use the option "/ PALETTE(MONO)" of the command "GPLOT". Switch back to colors by "GPLOT / PALETTE(MULTI)". A gray scale of the colors is available for 2-dim cluster plots by "GPLOT / 2DCOL(SHADOWING)".