Identical in use to BASIC statement PLOT
.
VDU 25,k,x;y;
k | Plotmode |
x | x-coordinate |
y | y-coordinate |
Use of semi-colon punctuation sends number as two-byte pair: lo followed by hi.
Plotmode specifies what kind of point, line or triangle is to be drawn, as tabulated below.
Plotmode | Action |
---|---|
0 | Move relative to last point |
1 | Draw line relative in the current graphics foreground colour |
2 | Draw line relative in the logical inverse colour |
3 | Draw line relative in the current graphics background colour |
4 | Move to absolute position |
5 | Draw line absolute in the current graphics foreground colour |
6 | Draw line absolute in the logical inverse colour |
7 | Draw line absolute in the current graphics background colour |
8 – 15 | As 0 – 7 but with the last point in the line omitted |
16 – 23 | As 0 – 7 but with a dotted line |
24 – 31 | As 0 – 7 but with a dotted line and without the last point on the line |
32 – 63 | Reserved |
64 – 71 | As 0 – 7 but only a single point is plotted |
72 – 79 | As 0 – 7 but to draw a horizontal line to the left and right of the point until a colour other than the current background colour is reached |
80 -87 | As 0 – 7 but plot and fill a triangle |