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 11 Next »

Unknown macro: {alias}

Name

sma — Spline map

Syntax

sma i | v | s | n | ms | l [arg1] ;# general syntax for contouring with colorbands, see argument list

arg1 := [can] [smo] [map] [flat] [sav] [noadj]

Description

Contour lines are drawn using spline curves to achieve smooth contours.

Arguments

Main contouring arguments:

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

i incr

Unknown macro: {indent}

incr is the increment value.

v val1 [val2 val3 ...]

Unknown macro: {indent}

Contour at specific values, val1, val2, ...

s start increment stop

Unknown macro: {indent}

s for step needs three numbers: start, increment and stop The first and last contour will be at start and stop.

n number

Unknown macro: {indent}

Use number contours (levels), equally distributed between the minimum and maximum value.

ms start1 incr1 stop1 start2 incr2 stop2

Unknown macro: {indent}

ms for multiple steps needs six following numbers. The first contour will be at start1, the last at stop2.

l

Unknown macro: {indent}

Use levels from the last previous contouring operation.

Other arguments:

sav

Unknown macro: {indent}

Displayed contours are saved as active dataset and resides also in workspace con (the dtatasets are not visible). Use mlo ^con to make it active.

smo

Unknown macro: {indent}

Smoother contouring using b-splines.

can [frq] [dis] [hi] [anl] [csl] [ant] [ans]

Unknown macro: {indent}

Carthographic annotation.

frq factor - Multiply the frequency counter with factor.
dis distance - Annotate for every distance distance.
hi workspacename - Annotate where contours are crossing lines in workspace workspacename.
anl n | shf - Annotation levels every n'th contour / on color highlighted (color shifted) contours.
shliw n - Shift linewith to n for highlighted contours.
csl color - Color select for number annotation. color is red/gre/bla/...
ant factor - Extended annotation testing. factor lower than 0.1 will be more restrictive. factor greater than 0.1 will give more annotation.
ans factor - Annotation size factor setting relative to 1.

numsize factor

Unknown macro: {indent}

Size factor of annotation numbers relative to 1.

csh inc

Unknown macro: {indent}

Color shift. Highlights contours on increment inc.

flat z_level

Unknown macro: {indent}

Contour in a plane at level z_level.

nrg

Unknown macro: {indent}

No regridding for large grids. Gives a more detailed display.

map

Unknown macro: {indent}

Use colors from the map color table on the contours.

eli number

Unknown macro: {indent}

Eliminate small contours with number of points less than number.

noadj

Unknown macro: {indent}

The contours will, by default, be lifted up (or adjusted) a little bit for better visualization. This can be prevented with the noadj argument.

Examples

Ex.1: Spline mapping

# 3d annotation is very different from 2d annotation.
z                    ;# erase display
win 450000 460000 6450000 6460000 1500 3000 ; # get a new window by coordinates
mak ran 12           ;# make random points
grp 110 110          ;# make grid
bol tub              ;# draw border line n tube mode
acm i 250            ;# color band contours
spe col con bla blu  ;# contour colors are black and blue
spe col ann bla      ;# annotation color is black
sma i 50 csh 250 ann anl shf shliw 3 frq 0.9 ans 1.5; # spline map with annotation

The above example produces this image (somewhat zoomed) using the random generated grid in active data as input.


Spline map with annotation

See also

acm - Color band mapping , ann - Simple annotation , con - Contour using scalars , lco - Line color , map - Map display

Unknown macro: {pagebreak}
  • No labels