Table of Contents

**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.

MGL scripting language - http://udav.sourceforge.net/example_mgl_eng.html (seems gone now)

21-oct-92document createdPJT 2009add link to MGLPJT dec-2019noting that MGL is no morePJT