Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Unknown macro: {alias}

Name

con — Contour dataset using scalars

Syntax

con i | v | s | n | ms | l [noadj] [sav]

Description

Contor dataset with lines following the scalar values.

Arguments

Main contouring arguments:

Note that the main contouring arguments are the same for other shell commands that contour in various ways.

i incr

v val1 [val2 val3 ...]

s start increment stop

n number

ms start1 incr1 stop1 start2 incr2 stop2

l

noadj

sav [nodraw]

Examples

Ex.1: Contours following scalars

The above example produces this image.

        spe bgc whi    ;# specify background color to white
        vie def        ;# reset viewport
        ret 10         ;# return start window
        vie 4 1 1      ;# set up 4 viewports, select first
        mak ran 11     ;# make random points
        grp 70 70      ;# make grid and scalars
        ssc            ;# self scale
        mak p          ;# transform grid to polydata
        acm n 11       ;# map display
        con l          ;# contour using same levels
        mak sca        ;# be sure the scalars are there
        mhi grid1      ;# move grid to hi grid1
        vie 2 con      ;# select viewport 2and connect
        mak ran 11     ;# make new random points
        grp 70 70      ;# make new grid
        mak p          ;# transform grid to polydata
        acm l          ;# map display
        con l          ;# contour using same levels
        mak sca        ;# be sure the scalars are there
        mhi grid2      ;# move grid to hi grid2
        vie 3 con      ;# select viewport 3 and connect
        mlo grid1      ;# move grid1 to active
        mak rsc grid2  ;# replace scalars from grid2
        acm l          ;# map grid2 on top of grid1
        con l          ;# contour grid2 on top of grid1
        vie 4 con      ;# select viewport 4 and connect
        mlo grid2      ;# move grid2 to active
        mak rsc grid1  ;# replace scalars from grid1
        acm l          ;# map grid1 on top of grid2
        con l          ;# contour grid1 on top of grid2
        xwi sel        ;# force selected window in front


Displaying scalars from two grids on top of the other grid surface

See also

acm - Color band mapping, cco - Color code legend, cnn - Contour two sides, map - Map display, sma - Spline map

  • No labels