Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
Plot


NAME

Plot - graphics interface

SYNOPSIS

FROM StdIO IMPORT FILE;


PROCEDURE OpenPlot(f: FILE); PROCEDURE ClosePlot; PROCEDURE Move(xto, yto: INTEGER); PROCEDURE Cont(xto, yto: INTEGER); PROCEDURE Point(xpoint, ypoint: INTEGER); PROCEDURE Line(xfrom, yfrom, xto, yto: INTEGER); PROCEDURE String(str: ARRAY OF CHAR); PROCEDURE Arc(xcenter, ycenter, xstart, ystart, xend, yend: INTEGER); PROCEDURE Circle(xcenter, ycenter, radius: INTEGER); PROCEDURE Erase; PROCEDURE LineMod(style: ARRAY OF CHAR); PROCEDURE Space(xupleft, yupleft, xlowright, ylowright: INTEGER); PROCEDURE Reverse(xupleft, yupleft, xlowright, ylowright: INTEGER); PROCEDURE Polygon(xcenter, ycenter, xstart, ystart, edges: INTEGER); PROCEDURE CharMod(plotchar: CHAR);

DESCRIPTION

These subroutines generate graphic output in a relatively device-independent manner. See plot(4b) for a description of their effect. OpenPlot must be used before any of the others to open the device for writing. ClosePlot flushes the output.

DIAGNOSTICS

Plot prints `Plot: value out of bounds' and aborts if ABS(arg) is greater than 77777B for a given parameter arg.

SEE ALSO

plot(4b), plot(1b)
Edited by: borchert, last change: 1997/02/25, revision: 1.2, converted to HTML: 1997/04/28

Modula-2 || Compiler & Tools || Library || Search Engine