Table of Contents

ugBASIC User Manual

PLOT ✓

SYNTAX

   PLOT [x], [y][, color

PURPOSE

The PLOT instruction allows you to draw a point on the screen, at the (x, y) coordinate and with any color. If the color is not provided, the default color is the one set with the last INK / PEN command.

It is possible to omit one or both coordinates, and ugBASIC will use the last one used, which is stored in the XGR and YGR variables.

EXAMPLE

  PLOT 42, 42
  PLOT 100, 100, RED

See also the following example files:

ABBREVIATION

 Pl

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY