PLOT
Syntax
PLOT
PLOT TO
 
PLOT
Description
This function draws a "point," a line, or a series of connected lines, in the current output window, using the current pen size, pen mode, pen pattern and foreground color.
If you use the first syntax, a single "point" is drawn. This will actually be a little rectangular block whose dimensions are the same as the pen's width and height, with its upper-left corner at point (h,v).
If you use the second syntax, a line is drawn, having one endpoint at (h,v). The line's other endpoint will be one of the following:
- The last point specified in the most recent PLOTstatement (in any window);
- The (h,v) coordinates of the most recentBOXstatement (in any window) that actually specified thehandvparameters;
- (0,0), if no- PLOTstatement has yet been executed, and no prior- BOXstatement that specified- hand- vhas yet been executed.
If you use the third syntax, a line or a series of connected lines is drawn, with endpoints at the specified points.
FB Lite behavior:
When you use the "FB Lite" runtime, PLOT switches to the Graphics Window before executing. You can't use PLOT to draw a line in the Text Window, or on the printer; use the Toolbox procedures MOVETO and LINETO instead. Alternatively, you can activate the graphics window and select Print from the File menu.
See Also
PEN; BOX; COORDINATE WINDOW; COLOR; LONG COLOR