PLOTWORKS, Inc.]    PLOT88
 


 HOME

 TECHNICAL
 SPECIFICATIONS

 WHAT'S NEW!

 SELECTING 
 LIBRARY OR 
 SOURCE

 PURCHASING 
 THE PLOT88 
 LIBRARY

 PURCHASING
 THE PLOT88 
 SOURCE

  CONTACT
 PLOTWORKS  Inc.
 

PLOT88 Function Summary

The following subroutines are drawing primitives.

PLOTS

initializes the PLOT88 package.

PLOT

generates straight line segments from the current "pen" position to the specified position with the "pen" up or down.

PLOTD

generates straight, dashed line segments from the current "pen" position to the specified position.

STDASH

 defines the characteristics of a dashed line.

OFFSET

 defines the X & Y offset and scaling values.

FACTOR

 defines drawing enlargement or reduction.

WINDOW

 defines the location of the "drawing" window.

ROTTRN

 rotates and translates the drawing on the output device.

WINORG

 defines multiple windows to be drawn on one page.

NEWPEN

 specifies the line width.

WHERE

 returns the current (x,y) "pen" position and drawing scaling factor.

COLOR

 defines the color index to be applied to lines and text.

PALETE

 defines the color associated with the color index.


The following subroutines are used to draw text and symbols.

SYMBOL

 draws characters and special centered symbols in two or three dimensions.

ASPECT

 defines the width-to-height ratio of characters drawn by SYMBOL and NUMBER.

CHPATH

 defines symbol character path (horizontal or vertical).

GETWID

 returns the length of a character string.

NUMBER

 converts a real number to a decimal equivalent character string and draws the string in two or three dimensions.

GETNUM

 converts a single precision real number to its decimal equivalent as a character string.

FONT

 selects a character set by its number.

IBMPLX

 selects the IBM character set.

SIMPLX

 selects the simplex character set.

DUPLX

 selects the duplex character set.

COMPLX

 selects the complex character set.

TRIPLX

 selects the triplex character set.

SCRPLX

 selects the script character set.

GRKPLX

 selects the Greek character set.


The following subroutines are used to draw two-dimensional lines and axis.

SCALE

 scans an array to determine its maximum and minimum values for use by LINE, CURVE, and AXIS.

LINE

 a set of (x,y) points are drawn in two dimensions with optional straight lines between the points and an optional centered symbol at each point.

CURVE

 draws a smooth line in two dimensions between a set of (x,y) points.

AXIS

 draws a linear axis line with title, tic marks, and tic labels in two dimensions.

STAXIS

 defines the format of axis tic annotation, axis title, and tic length.

STLINE

 defines the line type and centered symbol characteristics used by LINE and LGLIN.

SCALG

 determines the logarithmic scale factors for use by LGAXS and LGLIN.

LGAXS

 draws a logarithmic axis in two dimensions with title, tics, and tic labels.

LGLIN

 draws a log-log or semi-log line in two dimensions between a set of (x,y) points.


The following subroutines define and draw filled polygons.

FILL

 provides shading of polygonal areas.

STFILL

 selects the shading pattern used by FILL.

DFFILL

 defines the fill pattern used by FILL.


The following subroutines are used prior to drawing two-dimensional contours and three-dimensional mesh "surfaces":

ZGRID

 performs two-dimensional (surface) interpolation to construct a grid of (x,y) points using La Placian and spline interpolation.

DGRID

 performs two dimensional (surface) interpolation to construct a grid of regularly spaced points using 1/(distance to a power).

ZSMTH

 smooths the gridded data.


The following subroutines are for drawing two or three-dimensional contours with NO fill pattern between the contour lines:

ZSIDE

 determines if a point is inside a polygon. Used when placing title blocks inside a contour map.

ZLEVEL

 determines all contour levels present on a map.

ZPOST

 marks and labels randomly spaced data points on the contour map (two-dimensional contours only).

ZCNTUR

 draws the two or three dimensional surface contours based on a grid of control points.

ZCSEG

 draws the two or three dimensional surface contours based on a grid of control points. Divides the grid into smaller areas for more precise contouring.

CCNTUR


          draws the two or three dimensional surface contours based on a grid of control points and fills
          the curface between the contour lines with a color/pattern.
CLEGND
          draws a legend of contour levels for the CCNTUR drawn surface. .

The following subroutines are for controlling the drawing of three-dimensional text, axis, and contours:

DISP3D

 defines the drawing spatial representation (two or three dimensions).

SCAL3D

 defines the dimensions of the grid array in world units.

SYORNT

 defines the drawing angle path for text and axis.

P3D2D

 converts a point in three dimensions into its corresponding position on the output device. This routine is used to place annotation on the mesh surface drawing.

FIT3D

 defines the three-dimensional space that will fit in the output two-dimensional window. Used when drawing a three-dimensional curve. No mesh surface is drawn.

AXIS3D

 draws a linear axis line with title, tic marks, and tic labels in two dimensions.

LINE3D

 draws a line in three dimensions with hidden line processing.

VISP3D

 indicates if a point is visible after a mesh surface is drawn.


The following subroutines are for drawing three-dimensional mesh "surfaces":

MESH

 defines the three-dimensional to two-dimensional transform and draws the three-dimensional mesh surface based on the grid of control points. No subgridding is performed.

MESHS

 defines the three-dimensional to two-dimensional transform and draws the three-dimensional mesh surface based on the grid of control points. Each grid square is subsectioned to produce 2, 4, 8, or 16 mesh lines.

MESH4

 draws a four dimensional mesh surface. The fourth dimension is shown as color on the surface. No subgrdiding is performed.

MSQUAL

 defines the mesh surface line quality for plotter output.

MESHCI

 defines the two color indexes used in drawing the mesh surface top and underside.

MSHCOL

 defines the color contouring intervals used in drawing a mesh surface.


The following subroutines are used by the print spooler under Windows 95, 98, 2000, or  NT to control the print output.

UsePrinter88

 defines the printer to receive the PLOT88 output.

JobTitle88

 assigns a title to the drawing in the print spool queue.