1
% @(#)copy_grap.hlq 19.1 (ESO-IPG) 02/25/03 14:03:07
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, COPY/GRAPHICS
7
%.PURPOSE On-line help file for the command: COPY/GRAPHICS
8
%.VERSION 1.0 910308 RHW creation
9
%.VERSION 1.1 910308 RHW Improved acc. to verification form
10
%.VERSION 1.1 911216 RHW implemented
11
%----------------------------------------------------------------
15
COPY/GRAPHICS 16-Dec-1991 RHW
17
COPY/GRAPHICS [device] [plotfile]
18
copy the existing plot file to the graphic device
21
Copy the existing plot file to the specified graphic device.
27
COPY/GRAPHICS [device] [plotfile]
29
device = plot device; Possible choices can be:
30
T[ERMINAL] the user graphics terminal (default); in
31
case of a workstation graphics window 0;
32
D[ISPLAY] for workstations, image window 0;
33
G[WINDOW,n] graphics window n (default 0);
34
D[WINDOW,n] image window n (default 0);
35
one of the HARDCOPY devices (see below);
36
POSTSCRIPT generic postscript device;
37
NULL the null device; in this case a plot file
38
will be created. Handy if you have no
39
graphic display capabilities availlable.
40
default is the device that has been assign with
43
plotfile = MIDAS plotfile (with extension .plt) to be routed.
44
Default is plot currently stored in the system; its
45
name can be found with the command SHOW/GRAPHICS
48
Hardcopy devices should be specified by the system device names.
49
For a number of devices default (MIDAS) names have been
50
implemented. A complete overview of the available devices and
51
their names can be obtained with the command HELP [PRINTERS].
53
All postscript printers and the device POSTSCRIPT offer the
54
possibility to print in portrait or in landscape mode. In order
55
to get the desired format one has to extend the printer name
56
with ``.l'' for landscape or ``.p'' for portrait mode. Default
57
(no extension given) is landscape mode.
59
The scales of a plot may change if a plot is sent to a plot
60
device other than the original one (pre-specified by ASSIGN/GRAP).
61
In general the axis ratio of the frame will have changed, and
62
hence a square frame WILL NOT BE A SQUARE FRAME ANYMORE if
63
you use COPY/GRAPHICS to dump your plot on another device.
64
This principle also applies if you dump a plot, originally
65
written in portrait mode, in landscape mode, or vice versa.
68
ASSIGN/GRAPHICS, SHOW/GRAPHICS, HELP [PRINTERS]
73
Copy current plot file (SHOW/GRAPH) to the device LASER. The
74
plot will come in landscape orientation (which is the default).
77
Copy current plot file to the colour printer with name
78
ptcol5 (in landscape mode).
81
Copy current plot file to the colour printer with name
82
ptcol5 in portrait mode.
84
ASSIGN/GRAPHICS ps4ipg1.p NOSPOOL
85
PLOT/TABLE test #1 #2 20,10
86
OVERPLOT/TABLE test #1 #3
88
Assign the laser printer ps4ipg1.p to receive the plot.
89
Here the ESO system device name is used. Plot files will
90
now be created but not be spooled to the device ps4ipg1.
91
Next, plot column 1 versus 2 of table `test.tbl' and
92
overplot column 1 versus column 3.
93
Finally, the plot is sent to ps4ipg1 and will come out
96
ASSIGN/GRAPHICS POSTSCRIPT
97
PLOT/TABLE test #1 #2 20,10
99
Assign POSTSCRIPT as the output "device". Next, plot
100
column 1 versus column 2 of the table `test.tbl'.
101
A file `postscript.ps' will be created and will contain the
102
graphics. Finally, to make a hardcopy, the same plot
103
file is sent to the device LASER.