Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:poll}
h2. Name

*poll* — Polygon display of cells with lines.

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*poll* \[*liw*] \[*las*] \[*all*] \[*sav*] 

{panel}

h2. Description

Draw cell structures with lines. 

h2. Arguments

*liw* _linewidth_ 
{indent}Display with line width _linewidth_.{indent} 
*las* 
{indent}Display also the last line in the cell connecting it back to the first point.{indent} 
*all* 
{indent}Use to display interior cells that are normally not visisble in an unstructured grid.{indent} 
*sav* 
{indent}Save the diplayed version as active data.{indent}

h2. Examples

h3. Ex.1: Mapping grid and draw lines

{noformat:|borderWidth=1|bgColor=#eeeeee}
        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
        grp 22 22                ;# Make grid
        map                      ;# Map the grid
        sub 5                    ;# Subtract to get a good display           
        poll 2                   ;# Display lines in grid 
{noformat}

The above example produces this image.

!att:_img_ref^cmd_poll.png!
_Map and lines in grid_

h2. See also

[map], [dis], [pol]