HTML automatically generated with rman
Table of Contents
layout - layout command for YAPP interpreter 
A layout file
is a simple ASCII text file, with  commands to execute basic yapp(3NEMO)
routines. See layout(3NEMO)
 for routines how to interpret and execute these
files. 
- init device xmin xmax ymin ymax 
- Name of graphics device and
optional parameters, if any choice  at all, and the graphics plotting area
in cm. (Standard plotting area is 20cm by 20cm). 
- stop  
- Close graphics device.
  
- ltype width pattern 
- 0 will not change the current value. width: 1 thin
and increasing thickness. pattern: 1 is solid, subsequents are graphics
device dependant, but typically dashed, dotted etc. 
  
- line x y 
- Draw a line
from current point to (x,y) [units in cm] 
  
- move x y 
- Move the current point
to (x,y) [units in cm] 
  
- color i 
- Set current color from 0 to plncolors-1
(an integer) 
  
- point a b 
- Draw a point at (x,y) [units in cm] 
  
- circle x y
s 
- Draw a circle at (x,y) with size s [units in cm] 
  
- cross x y s 
- Draw a
cross at (x,y) with size s [units in cm] 
  
- box x y s 
- Draw a square box at
(x,y) with size s [units in cm] 
  
- just i 
- Set text justification to i. -1 is
left, 0 centered, and +1 right justified. 
  
- text s x y h a 
- Plot a string
text (enclose in double quotes if spaces are required) at (x,y) with character
height h [all units in cm] and at angle a degrees, counterclockwise from
the positive X-axis. 
  
- # 
- A comment. 
There are some more commands, but see
yapp(3NEMO)
. 
src/kernel/misc/layout.c    source code 
layout(3NEMO)
,
yapp(3NEMO)
MGL scripting  language - http://udav.sourceforge.net/example_mgl_eng.html
(seems gone now) 
Peter Teuben 
21-oct-92    document created      PJT
2009        add link to MGL        PJT
dec-2019    noting that MGL is no more    PJT
Table of Contents