411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/plot
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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:
<li type="disc">The last point specified in the most recent PLOT statement (in any window);
<li type="disc">The (h,v) coordinates of the most recent BOX statement (in any window) that actually specified the h and v parameters;
<li type="disc">(0,0), if no PLOT statement has yet been executed, and no prior BOX statement that specified h and v has 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