1
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
%.COPYRIGHT (c) 1988-2008 European Southern Observatory
5
%.KEYWORDS MIDAS, help files, ASSIGN/GRAPHICS
6
%.PURPOSE On-line help file for the command: ASSIGN/GRAPHICS
7
%.VERSION 880315 RHW Creation, RHW
8
%.VERSION 920312 RHW Change to ASSIGN/GRAPHICS
9
%.VERSION 920312 RHW Improves in text
10
%----------------------------------------------------------------
14
ASSIGN/GRAPHICS 15-JUL-1988 RHW
16
ASSIGN/GRAPHICS [device] [option]
17
define the graphic device for plot output
20
Define the graphic device to which all subsequent plots
24
Hard copy, graphics, HELP [PRINTERS], HELP [POSTSCRIPT]
27
ASSIGN/GRAPHICS [device] [option]
29
device = graphics device; possible choices can be:\\
30
G[WINDOW,n] graphics window n (default 0); \\
31
D[WINDOW,n] display window n (default 0); \\
32
T[ERMINAL] graphics terminal; graphics window emulation
33
D[ISPLAY] single display window; synonym to D,0\\
34
one of the HARDCOPY devices (see below);\\
35
POSTSCRIPT generic postscript device;
36
NULL the null device; in this case a plot file
37
will be created. Handy if you have no
38
graphic display capabilities available.
40
option = spool option; Possible choices are:
41
SPOOL plots routed immediately (default);\\
42
NOSPOOL plots will be kept on disk and only routed
43
after a COPY/GRAPHICS command is given.
46
On window systems (Xterminals, workstations) a maximum of 10
47
graphics/display windows can be used (G,0 to G,9 and D,0 to D,9)
49
The choice between SPOOL and NOSPOOL can only been made if a
50
hardcopy device has been assigned. The NOSPOOL parameter can be
51
useful in cases where the user wants to produce a plot with a
52
number of overplots on a hardcopy device. In that case the plot
53
files are not routed to the device but stored on disk. After
54
finishing the user can make the hardcopy with the COPY/GRAPHICS
57
Hardcopy devices should be specified by the system device names.
58
For a number of devices default (MIDAS) names have been
59
implemented. A complete overview of the available devices and
60
their names can be obtained with the command HELP [PRINTERS].
62
All postscript printers and the device POSTSCRIPT offer the
63
possibility to print in portrait or in landscape mode. In order
64
to get the desired format one has to extend the printer name
65
with ``.l'' for landscape or ``.p'' for portrait mode. Default
66
(no extension given) is landscape mode.
68
The scales of a plot may change if a plot is sent to a plot
69
device other than the original one (pre-specified by
70
ASSIGN/GRAPHICS). In general the axis ratio of the frame will
71
have changed, and hence a square frame WILL NOT BE A SQUARE FRAME
72
ANYMORE if you use COPY/GRAPHICS to dump your plot on another
76
COPY/GRAPHICS, SET/GRAPHICS, SHOW/GRAPHICS
77
HELP [POSTSCRIPT], HELP [PRINTERS]
82
Plots are produced on MIDAS graphics window 1. The window will
83
be created if it is not available yet.
85
ASSIGN/GRAPHICS ps2usr1
86
Plots (in landscape mode) will be spooled to the
87
printer/plotter ps2usr1; this is a system device name at ESO
88
and most probably not available for this MIDAS installation.
89
Check with HELP [PRINTERS] for the device names.
91
ASSIGN/GRAPHICS ps2usr1.p
92
The same as for the first example. However with the extension
93
``.p'' plots will be printed in portrait mode.
96
Plots will be spooled to the default printer/plotter (LASER);
97
check with HELP [PRINTERS] which device that actually is.
98
Also here extensions ``.p'' or ``.l'' are allowed.
100
ASSIGN/GRAPHICS POSTSCRIPT
101
Plots will be stored in the encapsulated postscript file
102
postscript.ps. They can be included in a LateX document or
103
be sent to any postcript device. Also here extensions ``.p''
104
or ``.l'' are allowed.
106
ASSIGN/GRAP VERSA NOSPOOL
107
Plots are intended for the Versatec but will not be spooled.
108
The plot files will be kept on disk and can be spooled by the
109
command COPY/GRAPH device_name.