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

« back to all changes in this revision

Viewing changes to prim/help/assigngrap.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
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
2
%.COPYRIGHT  (c)  1988-2008 European Southern Observatory
 
3
%.IDENT      assigngrap.hlq
 
4
%.AUTHOR     RHW, IPG/ESO
 
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
%----------------------------------------------------------------
 
11
\se
 
12
SECTION./GRAP
 
13
\es\co
 
14
ASSIGN/GRAPHICS                                                15-JUL-1988  RHW
 
15
\oc\su
 
16
ASSIGN/GRAPHICS [device] [option]
 
17
        define the graphic device for plot output
 
18
\us\pu
 
19
Purpose:      
 
20
              Define the graphic device to which all subsequent plots
 
21
              will be sent.
 
22
\up\sub
 
23
Subject:      
 
24
              Hard copy, graphics, HELP [PRINTERS],  HELP [POSTSCRIPT]
 
25
\bus\sy
 
26
Syntax:      
 
27
              ASSIGN/GRAPHICS [device] [option]
 
28
\ys\pa
 
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.
 
39
\ap\pa
 
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.
 
44
\ap\no
 
45
Note:         
 
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)
 
48
\\
 
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 
 
55
              command.
 
56
\\
 
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].
 
61
\\
 
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.
 
67
\\
 
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 
 
73
              device.
 
74
\on\see
 
75
See also:     
 
76
              COPY/GRAPHICS, SET/GRAPHICS, SHOW/GRAPHICS
 
77
              HELP [POSTSCRIPT], HELP [PRINTERS]
 
78
\ees\exs
 
79
Examples:
 
80
\ex
 
81
              ASSIGN/GRAPHICS G,1 
 
82
                Plots are produced on MIDAS graphics window 1. The window will 
 
83
                be created if it is not available yet.
 
84
\xe\ex
 
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.
 
90
\xe\ex
 
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.
 
94
\xe\ex
 
95
              ASSIGN/GRAPHICS LASER
 
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.
 
99
\xe\ex     
 
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.
 
105
\xe\ex
 
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.
 
110
\xe\sxe