Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

pot — Polygon with tube

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

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

No Format
bgColor#eeeeee
borderWidth1
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
{noformat}

The

...

above

...

example

...

produces

...

this

...

image.

...

Image Added
Draw polygon tubes

See also

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