~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/copy_grap.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)copy_grap.hlq     19.1 (ESO-IPG) 02/25/03 14:03:07
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      copy_grap.hlq
 
5
%.AUTHOR     RHW, IPG/ESO
 
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
%----------------------------------------------------------------
 
12
\se
 
13
SECTION./GRAP
 
14
\es\co
 
15
COPY/GRAPHICS                                                   16-Dec-1991 RHW
 
16
\oc\su
 
17
COPY/GRAPHICS [device] [plotfile]
 
18
        copy the existing plot file to the graphic device
 
19
\us\pu
 
20
Purpose:      
 
21
              Copy the existing plot file to the specified graphic device.
 
22
\up\sub
 
23
Subject:      
 
24
              Hardcopy, graphics
 
25
\bus\sy
 
26
Syntax:       
 
27
              COPY/GRAPHICS [device] [plotfile]
 
28
\ys\pa
 
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
 
41
                  ASSIGN/GRAPHICS
 
42
\ap\pa
 
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
 
46
\ap\no
 
47
Note:         
 
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].
 
52
\\
 
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.
 
58
\\
 
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. 
 
66
\on\see
 
67
See also:     
 
68
              ASSIGN/GRAPHICS, SHOW/GRAPHICS, HELP [PRINTERS]
 
69
\ees\exs
 
70
Examples:
 
71
\ex
 
72
              COPY/GRAP LASER
 
73
                Copy current plot file (SHOW/GRAPH) to the device LASER. The 
 
74
                plot will come in landscape orientation (which is the default). 
 
75
\xe\ex
 
76
              COPY/GRAP ptcol5.c
 
77
                Copy current plot file to the colour printer with name
 
78
                ptcol5 (in landscape mode).
 
79
\xe\ex
 
80
              COPY/GRAP ptcol5.c.p
 
81
                Copy current plot file to the colour printer with name
 
82
                ptcol5 in portrait mode.
 
83
\xe\ex
 
84
              ASSIGN/GRAPHICS ps4ipg1.p NOSPOOL
 
85
              PLOT/TABLE test #1 #2 20,10
 
86
              OVERPLOT/TABLE test #1 #3
 
87
              COPY/GRAP ps4ipg1.p
 
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
 
94
                in portrait mode.
 
95
\xe\ex
 
96
              ASSIGN/GRAPHICS POSTSCRIPT
 
97
              PLOT/TABLE test #1 #2 20,10
 
98
              COPY/GRAPHICS LASER
 
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.
 
104
\xe\sxe