Versions Compared

Key

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

...

Name

poll — Polygon display of cells with lines.

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

poll [liw] [las] [all] [sav]

Description

Draw cell structures with lines.

Arguments

liw linewidth

Display with line width linewidth.

las

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

all

Use to display interior cells that are normally not visisble in an unstructured grid.

sav

Save the diplayed version as active data.

Examples

Ex.1: Mapping grid and draw lines

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
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.

...

Image Added
Map and lines in grid

Ex.2:

...

Display

...

line

...

structure

...

No Format
bgColor#eeeeee
borderWidth1
win 450000 460000 6450000 6460000 2500 4500  ;# set a window
mak ran 55                                   ;# make 55 random points
poi 3                                        ;# Display the points, size 3
trg                                          ;# triangulate to a surface
map opa .5                                   ;# map the surface with opacity
col blu                                      ;# set color to blue
poll liw 3                                   ;# Use poll to display structure
{noformat}

!att:_img_ref^poll.png!
_The blue lines are displayed by *poll*_

h2. See also

[map - Map display], [dis - Display active dataset], [pol - Polygon type display]
{pagebreak}

Image Added
The blue lines are displayed by poll

See also

map - Map display, dis - Display active dataset, pol - Polygon type display