pot - Polygon with tube

Name

pot — Polygon with tube

Syntax

pot [size ] [las] [col] [dra] [sav]

Description

Polygon display in tube mode.

Arguments

size

Size of tube.

las

Display also the last line in the cell connecting it back to the first point.

col [ran]

Draw the cells with color shift [at random].

sav

Save the diplayed version as active data.

Examples

Ex.1: Draw polygon tubes

z                        ;# Erase screen
win demo                 ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi              ;# Specify background color to white
mak ran 11               ;# Make 11 random points
lin poi sav              ;# Draw rods and save
pot 5                    ;# Polygon tube              
dra win                  ;# Draw window frame

The above example produces this image.


Draw polygon tubes

See also

cur - Curve display, dis - Display active dataset, tub - Tube generation