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]
Description
Bla-bla-bla-descriptive text
Arguments
Main contouring arguments:
Note that the main contouring arguments are the same for other shell commands that contour in various ways.
i incr
incr is the increment value.
v val1 [val2 val3 ...]
Contour at specific values, val1, val2, ...
s start increment stop
s for step needs three numbers: start, increment and stop The first and last contour will be at start and stop.
n number
Use number contours (levels), equally distributed between the minimum and maximum value.
ms start1 incr1 stop1 start2 incr2 stop2
ms for multiple steps needs six following numbers. The first contour will be at start1, the last at stop2.
l
Use levels from the last previous contouring operation.
Other arguments:
sav
Displayed contours are saved as active dataset.
smo
Smoother contouring using b-splines.
can [frq] [dis] [hi] [anl] [csl] [ant] [ans]
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
Size factor of annotation numbers relative to 1.
csh inc
Color shift. Highlights contours on increment inc.
flat z_level
Contour in a plane at level z_level.
nrg
No regridding for large grids. Gives a more detailed display.
map
Use colors from the map color table on the contours.
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