graph: graph package
gdopen opens a graphics window gd... set state gd... draw graphics gdshow show graphics glclose win| close window|active window glcloseall '' close all graphics windows glselect win select graphics window
points are plotted in a box with 1 1 at bottom left and 1 1 at top right.
verbs whose names end in '01' plot in a box with 0 0 at bottom left to 1 1 at top right. Conversion to the standard box is done automatically.
colors should be given as 3 numbers in range (0,255), or as a single RGB number.
gdcolor set color gdfont set pen size and style gdpen set pen size and style gdpencolor set pen color gdtextcolor set text color
drawing functions (each has a matching verb ending in '01' e.g. gdarc01):
gdarc draw arc gdchord draw chord gdellipse draw ellipse gdlines draw lines gdpie draw pie-shaped wedge gdpixel draw pixel gdpolygon draw polygon gdrect draw rectangle gdroundr draw rounded rectangle gdtext draw text
gdadd add wrapper gdbmp write graph to bmp file gdclip write graph to clipboard (Windows only) gddraw draw wrapper gdemf write graph to emf file (Windows only) gdopen open/clear graphics window gdselect select graphics window gdshow show graph