Syntax:
plot h,v
plot to h,v
plot h1,v1 to h2,v2 [to h3,v3 ...]
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
plot
statement (in any window);
- The (
h,v
) coordinates of the most recent box
statement (in any window) that actually specified the h
and v
parameters;
(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.
See Also:
pen; box; color; long color