viewpack.spad line 1 [edit on github]
ViewportPackage provides functions for creating GraphImages and TwoDimensionalViewports from lists of lists of points.
coerce( converts the indicated GraphImage, gi)gi, into the TwoDimensionalViewport form.
drawCurves([[p0], [p1], ..., [pn]], [options]) creates a TwoDimensionalViewport from the list of lists of points, p0 through pn, using the options specified in the list options.
drawCurves([[p0], [p1], ..., [pn]], ptColor, lineColor, ptSize, [options]) creates a TwoDimensionalViewport from the list of lists of points, p0 through pn, using the options specified in the list options. The point color is specified by ptColor, the line color is specified by lineColor, and the point size is specified by ptSize.
graphCurves([[p0], [p1], ..., [pn]]) creates a GraphImage from the list of lists of points indicated by p0 through pn.
graphCurves([[p0], [p1], ..., [pn]], [options]) creates a GraphImage from the list of lists of points, p0 through pn, using the options specified in the list options.
graphCurves([[p0], [p1], ..., [pn]], ptColor, lineColor, ptSize, [options]) creates a GraphImage from the list of lists of points, p0 through pn, using the options specified in the list options. The graph point color is specified by ptColor, the graph line color is specified by lineColor, and the size of the points is specified by ptSize.