Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The mak command translates data of one form into another form. This command has options for transformation or manipulation of data sets to meet the needs for advanced scripting.

Command contents

87265918 mak - Make datasets#Make bands between vertical pillars - mak bandsca
87265918 mak - Make datasets#Make data from cells - mak cel
87265918 mak - Make datasets#Make cell scalars - mak ces
87265918 mak - Make datasets#Make cell from equal z coordinate - mak czc
87265918 mak - Make datasets#Make circle - mak cir
87265918 mak - Make datasets#Clean up polydata - mak cle
87265918 mak - Make datasets#Make compass rose in graphical window - mak com
Make closed polygon type data sets - mak cpl
Make a new copy of active data set - mak csd
87265918 mak - Make datasets#Make accumulated distances - mak dis
87265918 mak - Make datasets#Make field data - mak fd
87265918 mak - Make datasets#Make free data - mak fre
87265918 mak - Make datasets#Make grid from polygrid - mak g
Reverse the sequence in the data set - mak gcrev
87265918 - mak glc
87265918 mak - Make datasets#Get largest cell in polydata - mak glc
mak - Make datasets#Get point value from data - mak gpv
87265918 mak - Make datasets#Make xy histogram from active data - mak his
87265918 mak - Make datasets#Insert cells by distance test - mak ins
87265918 mak - Make datasets#Make local origo actions - mak lco
87265918 mak - Make datasets#Make a polydata set of line normals - mak lno
Transform the data set into a single line of points - mak lin
87265918 mak - Make datasets#Make line projection - mak lip
87265918 mak - Make datasets#Mirror the data - mak mir
87265918 mak - Make datasets#Make normals - mak nor
87265918 mak - Make datasets#Make new scalar cell values - mak nsc
87265918 mak - Make datasets#Make new celltype - mak nce
87265918 mak - Make datasets#Make polydata from structured point grid - mak p
87265918 mak - Make datasets#Make polygon from cells - mak pfc
Transform a data set into a point data set - mak poi
87265918 mak - Make datasets#Make polygon cells - mak pol
87265918 mak - Make datasets#Make profile - mak pro
Make the point set to scalar data - mak psc
87265918 mak - Make datasets#Make random points - mak ran
87265918 mak - Make datasets#Make random scalars on polydata - mak ras
87265918 mak - Make datasets#Remove points and cells - mak rem
87265918 mak - Make datasets#Remove lines of three points and equal z - mak remeq
87265918 mak - Make datasets#Remove undefined - mak reu
Reverse the data set - mak rev
87265918 mak - Make datasets#Make rods - mak rod
87265918 mak - Make datasets#Replace scalar data - mak rsc
87265918 - mak rve
87265918 mak - Make datasets#Reverse cell ordering or normals direction - mak rve
mak - Make datasets#Make scalar data from z values - mak sca

87265918 mak - Make datasets#Make sequence numbers in data set - mak seq

87265918 mak - Make datasets#Make shaded areas - mak sha
87265918 mak - Make datasets#Make sorted and connected polyline - mak sortpl
87265918 mak - Make datasets#Make scalar data to points - mak spo
87265918 mak - Make datasets#Make structured points to polydata triangles - mak spts
87265918 mak - Make datasets#Make a single point - mak spt
87265918 mak - Make datasets#Set value for point - mak spv
87265918 mak - Make datasets#Make triangle strips - mak strips
87265918 mak - Make datasets#Make tangent map in the scalar values - mak tan
87265918 mak - Make datasets#Make texture coordinates - mak tex
87265918 mak - Make datasets#Make triangles between active data and data in workspace - mak tri
87265918 mak - Make datasets#Make triangle strips between active data and data in workspace - mak tris
87265918
mak - Make datasets#Transfer a 3d cube of structured points into an unstructured grid - mak uns
87265918 mak - Make datasets#Make vectors to the cell data - mak vec
87265918 mak - Make datasets#Make vector array to point array - mak vpo
87265918 mak - Make datasets#Make a 3d grid from all layers - mak 3dg

Make bands between vertical pillars

Anchor
mak-bandsca
mak-bandsca

Anchor
Make-bands-between-vertical-pillars
Make-bands-between-vertical-pillars

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak bandsca [trg]

 Make  Make bands between vertical pillars and with preserving of scalars. Can be used to model stacking velocities, EMG data, fault pillars.

The vertical pillars are connected into triangle strips between the points in the pillars. It requires that the vertical pillars are correctly sorted in sequence.

trg

 The  The trg argument means to use Delauney triangulation on all pillars which then can be sorted in any order.

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cel number | dis | rep | sel frequency | add value first | last | gen number | [outline] | sim | cur

mak cel
number

Make cell number into active data. Counting of cells and points starts from 0.

dis length [3d [only] ] [acc]

Start a new cell whenever the distance between points are greater than length. Distance calculation is by default done in the xy plane.

The 3d argument means calculating distance also for the z coordinate. 3d only will only use the z coordinates in distance calculation.

...

Tip: Single points may be removed by mak rem poi 1 . If the purpose is to remove all line connections, ending up with single points the command mak poi should be considered.

dis two

Start a new cell whenever the distance between points are greater than the first two points.

rep

Select cells by repeated digitizing by p in the active graphic window. Terminate by keyboard u.

sel frequency [start start_position]

Select cells according to the selection frequency.

add value first | last

Add a point to the first or last point of the cells. x y and scalar are from the first or last point, while z gets the value.

gen number

Generate points at number number from every cell. Useful for stacking velocity data getting points at a specific number.

gen outline

Generate outline points for all cells. For stacking velocity data the top points are selected first, the the bottom points.

sim

The first and last point in all cells all generated to a new data set.

cur

The cell nearest to the cursor is selected to a new data set.

Make cell scalars

Anchor
mak sca
mak sca

Anchor
Make cell scalars
Make cell scalars

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ces

Make cell scalars. Will create cell scalars for the cells. Mapping using cell scalars will shift colors for cells and not the points as with point scalars.

Make cell from equal z coordinate

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak czc

To create cells in a polydata set where there are no or few cells, but where the z values of the points are of equal values until it shifts to another value. The polydata will be split into cells where the z value shifts. Example: To be used for a saved contour data set all in one cell that has to be splitted into cells.

Make circle

Anchor
mak cir
mak cir

Anchor
Make circle
Make circle

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cir radius [pos x y z | cur] [start start_value] [stop stop_value] [inc increment] [nclo]

mak cir
radius

radius of circle, always first number after mak cir.

pos x y z

Position of origo.

cur

Use cursor position.

start start_value

start_value in degrees on circle, default 0, must be an integer.

stop stop_value

stop_value in degrees on circle, default 360, must be an integer.

inc increment

increment value in degree, default 1, must be an integer.

nclo

Not close, default is to close sectors.

Clean up polydata

Anchor
mak cle
mak cle

Anchor
Clean up polydata
Clean up polydata

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cle

Clean up polydata by removing unregistered or double registered points.

Make compass rose in graphical window

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak com [off]

Makes a compass rose in upper right corner of the screen. Will follow the movements of the the camera and show correct north direction. Next mak com turns it off or one can use the off argument.

Make closed polygon type data sets

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak clo | cpl | cpr

clo

Make closed polygon cells.

cpl

Make closed polyline. Will sort and close gaps of a set of line pieces and connect the first and last point.

cpr

Make closed polygon regions.

Make accumulated distances

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak dis [start_value stop_value]

Accumulated distances for xyz are calculated and placed in the scalar part. If start and stop values are used,the scalars will have zero outside these values.

Make a new copy of active data set

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak csd

Make a new copy of active data set and remove all references to any other data set in workspace.

Make field data

Anchor
mak fd
mak fd

Anchor
Make field data
Make field data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak fd [fsca] field_dataname [rem]

Make field data field_dataname of numeric type into scalar values, or remove if argument rem.

fsca

Make field data from scalar values into field_dataname.

rem

Remove field data with name field_dataname.

mak fd ren old_name new_name

Rename field data from old_name to new_name.

Make free data

Anchor
mak fre
mak fre

Anchor
Make free data
Make free data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak fre x | y [gridline] | [sel number]

x | y

Make polydata lines in x or y direction.

gridline

Make one polydata line for the gridline number.

sel number

Select every number grid line.

mak fre x ran number

Select grid lines where the selection is random generated between 1 and number.

Make grid from polygrid

Anchor
mak g
mak g

Anchor
Make grid from polygrid
Make grid from polygrid

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak g [rows columns]

Make structured points grid within grid window from polysampled grid; i.e. the opposite of mak p. Sometimes it is necessary to enter rows and columns in the grid (i.e number of elements in the rows and columns) when these values may have been lost due to influence by similar values in a another grid or cube.

Reverse the sequence in the data set

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak gcrev

Reverse the sequence of points in the data set.

Get largest cell in poly data

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak glc

Get largest cell element in polydata.

Get point value from data

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak gpv number

Get point value from point number number. The values will be put in Geocap variables @xval @yval @zval.

Make xy histogram from active data

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak his [number] [x | y | z | s] [fac] [add] [val] [nor]

mak his
number

Apply number of histogram divisions. (Default is 30). Gives the distribution of point counting into histogram cells. 
If you want a three dimensional histogram, apply the linear extrusion command: 
lix 11 (or -11 if you want it the other way) and display.

x | y | z | s

XY-oriented histogram counting the indicated variable.

fac factor

Width factor of the bars.

add

Gives the cumulative distribution of point counting. 

val

To get the mean values in the histogram per bar.

nor

To adjust the histogram to normalized (area==1).

Insert cells by distance test

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ins [acc] distance

Default : only the distances between points are tested and a cell is inserted when points have greater separation than distance
acc will insert a new cell when the sum of distances of the points is greater than distance.

Make local origo actions
Anchor
mak lco
mak lco

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lco min | chk | off | sav | ret | x y z

min

Set local origo to min values for active data.

chk

Check local origo for active data. Result in [gvar locori].

off

Remove local origo off for active data and update data instead.

sav

Save local origo and turn off for active data.

ret

Return and set local origo values for active data.

x y z

Set local origo for active data to x y z.

Mirror the data

Anchor
mak mir
mak mir

Anchor
Mirror the data
Mirror the data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak mir x | y | z

Mirror the data according to (for x) : x = xmax + xmin - x

Make normals

Anchor
mak nor
mak nor

Anchor
Make normals
Make normals

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak nor

Make normals and add the array of normals to the data set. Used in many algorithms and will also influence the display

Make new scalar cell values

...

add | sub | mul | div | fix value

Make new scalar cell values from the operation add | sub | mul | div | fix value.

sin | cos | tan | atan | exp | log | abs | pow | sqr | min | max

Make new scalar cell values using active cell values as input.

Make new celltype

Anchor
mak nce
mak nce

Anchor
Make new celltype
Make new celltype

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak nce celltype

Make new celltype by converting present to celltype. Example: mak nce 4 ;# convertes to poly lines.

Make a polydata set of line normals

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lno [sel selection] lengthfactor

lengthfactor

Make a polydata set of lines of normals at the points multiplied with the lengthfactor.

sel selection

Make a selection with frequency selection of the line normals.

Transform the data set into a single line of points

...

dgp [distance] [max maxnpoints]

Transform the data set into a line preserving extreme points

distance = minimum distance between points (default value for distance = 0; larger number results in fewer points).
max maxnpoints = maximum number of points in result will not be larger than maxnpoints.

dis distance [all | olt | exact | 2d | 3d | 2dx | 2dy | 2dz]

Transform the data set into a line with distance distance between points. 
all = Keep all points, new and original. 
olt = only distances lower than distance between points. 
exact means to calculate the same distance between points with an absolutely exact algorithm. 
2d | 3d | 2dx | 2dy | 2dz are options when calculating the distance. Default is 3d which means the distance calculation is using x,y,z values.

dis distance repo

Remove points that are closer than distance to the next point.

pnr number [cnt]

Make the active line into a new line with approximately number number of points. The present line should have only one line cell. 
The [cnt] option means connect and will connect new points to existing ones if possible.

seq

Make line segments out of the cell structure.

spnr number

Make number evenly spaced points in the line. E.g. to be used in a camera path.

fpnr number

Make exactly the same number of points in all cells the line.

sel selection

Make a selection with frequency selection of the line normals.

grid grid_in_workspace

Make a new line with points where the line in active are crossing the grid lines of grid_in_workspace.

Make line projection

Anchor
mak lip
mak lip

Anchor
Make line projection
Make line projection

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lip [x | y]

Make line projection; e.g. stretch a cross section or curved line to a complete plane in z (default), x or y.

Make polydata from structured point grid

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak p [nochk]

Make polydata from structured point grid. The resampling will take place according to display level unless nochk.

Make polygon from cells

Anchor
mak pfc
mak pfc

Anchor
Make polygon from cells
Make polygon from cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pfc

Make polygon line type from closed polygon cells.

Transform a data  set into a point data set

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak poi [sel] [sic]

sel number

Select every number of point

sic [start after_value sva]

Select inside cells. Start selection after_value. Use scalar values [svaafter_value.

Make polygon cells

Anchor
mak pol
mak pol

Anchor
Make polygon cells
Make polygon cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pol

Make polygon line type from cells.

Make profile

Anchor
mak pro
mak pro

Anchor
Make profile
Make profile

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pro workspacename | ssf

workspacename

Make profile against data in workspace workspacename

ssf width [nco]

Make single stick fault lines into closed stick fault [not connect first and last point in cell]. 
width is the width of the stickfault.

Make the point set to scalar data

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak psc

Transfer the point set to scalar data.

Make random points

Anchor
mak ran
mak ran

Anchor
Make random points
Make random points

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ran number [z | zap] [poi]

number

Make number random points within the window frame.

z zmin zmax

Random points, z values between zmin and zmax.

zap [noi min max]

Random points, z values are zapped from surface grid in active. 
[Add noise between min (e.g. -10) and max (e.g. 10) to the generated points].

poi

Create only points, no cell structure.

Make random scalars on polydata

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ras [cel]

Make random scalars on polydata [in the cells].

Remove points and cells

Anchor
mak rem
mak rem

Anchor
Remove points and cells
Remove points and cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rem [lt | gt] value [poi]

rem [lt | gt] value

Remove cells with length lower or greater than the length value.

rem [lt | gt] value poi

Remove cells having less or more points than value.

Remove cells by cell type

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rem typ [celltype]

rem typ celltype

Remove cells of type less than celltype, default 3 if omitted. Line cells have cell type 4. Vertices (single points) have cell type 1. mak rem typ 3 will remove single points isolated in cell type vertex

Remove lines of three points and equal z

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak remeq

Will remove line cells consisting of three points that have equal z values that may represent an unwanted line connection.

Remove undefined

Anchor
mak reu
mak reu

Anchor
Remove undefined
Remove undefined

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak reu

Remove points flagged as undefined in polydata. Clean up data set after delete operation.

Reverse the data set

Anchor
mak rev
mak rev

Anchor
Reverse the dataset
Reverse the dataset

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rev [cellnr]

Reverse the ordering of points in the data set [or cell number cellnr].

Make rods

Anchor
mak rod
mak rod

Anchor
Make rods
Make rods

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rod workspacename

Make rods; i.e. line of point to point connections between point in active and same number of points in workspace workspacename.

Replace scalar data

Anchor
mak rsc
mak rsc

Anchor
Replace scalar data
Replace scalar data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rsc workspacename

Replace scalar data with scalars from workspace workspacename. The data set in active is usually polydata while workspacename can be polydata or grid as long as the scalar part is equivalent to the that in active.

Reverse cell ordering or normals direction

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rve

Reverse cell ordering or normals direction to get a different light setting.

Make scalar data from z values

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sca [sta start step]

Make scalar data from z values.

The arguments sta start step will start create scalar values from a start value and increase by a step value.

Make sequence numbers in data set

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak seq [x | y | z] [start stop]

Make sequence numbers in data set in the x (default) column or in y or z columns. Optionally apply a start and stop entry.

If the sequence is to be placed in the scalars, do: swi xysz ; mak seq z ; swi xysz

Make shaded areas

Anchor
mak sha
mak sha

Anchor
Make shaded areas
Make shaded areas

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sha

Make shaded and closed polygon cells.

Make sorted and connected polyline

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sortpl [tol tolerance [3d] ]

Make sorted and connected line (polyline). Will sort and close gaps [within a tolerance]. tolerance is a number. Duplicate points are removed.
The tolerance option works in xy space unless 3d is given. Use this for complete xyz tolerance test.

Make scalar data to points

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spo

Make scalar data to z values points.

Make structured points to polydata triangles

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spts [tri | tris] [nx ny]

Make structured points to polydata triangles/triangle-strips [and resample into nx ny]

Make a single point

Anchor
mak spt
mak spt

Anchor
Make a single point
Make a single point

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spt number

Make a single point from point number number in a data set. Points are counted from 0.

Set value for point

Anchor
mak spv
mak spv

Anchor
Set value for point
Set value for point

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spv x | y | z | s number value

Set point x | y | z | s value for point number number to value.

Make triangle strips

Anchor
mak strips
mak strips

Anchor
Make triangle strips
Make triangle strips

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak strips

Make triangle strips from triangles.

Make tangent map in the scalar values

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tan

Make tangent map in the scalar values. If the input is a standard grid, the result is polydata. Mapping the data will show the steepness of the terrain in degrees.

Make texture coordinates

Anchor
mak tex
mak tex

Anchor
Make texture coordinates
Make texture coordinates

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tex sphere | cyl | grid | higrid workspacename

Make texture coordinates for sphere or cylinder or active grid or grid in workspacename.

Make triangles between active data and data in workspace

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tri workspacename

Make triangles between active data and data in workspacename.

Make triangle strips between active data and data in workspace

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tris workspacename [sca]

Make triangle strips between active data and data in workspacename. If the argument sca is used the scalars of the connecting points will be kept. The requirement in that case is however that the two datasets have exact equal number of points.

Transfere a 3d cube of structured points into an unstructured grid

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak uns

Transfere a 3d cube of structured points into an unstructured grid. This grid will follow the topology of the reservoir.

Make vectors to the cell data

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak vec

Make vectors to the cell data. The vectors are a three component attribute comparable to scalar that are associated with the cell data.

Make vector array to point array

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak vpo

Make vector array to point array.

Make a 3d grid from all layers

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak 3dg

Make a 3d grid from all layers associated with active layer file.

Make extra border around a grid

...

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak xbo [all]

Make extra border around a grid. all includes all cells in the border.

Examples

Ex.1: Stair maps

No Format
bgColor#eeeeee
borderWidth1
Code Block
# read any grid
vie def              ;# reset viewport
ret 10               ;# return start window
spe bgc whi          ;# specify background color to white
mak ran 12           ;# make random points
grp 20 20            ;# make grid
mak uns              ;# make unstructured grid
map cel              ;# display map as cells
col bla              ;# colour black
poll liw 2           ;# display cell lines

...


Grid displayed as stairs

Ex.1: Surface normals

No Format
bgColor#eeeeee
borderWidth1
Code Block
# read any grid
vie def              ;# reset viewport
ret 10               ;# return start window
spe bgc whi          ;# specify background color to white
mak ran 6            ;# make random points
grp 70 70            ;# make grid
map                  ;# display map
mak lno 3 sel 4      ;# make line normals
pot                  ;# draw tube
spe mar sphere       ;# sphere marker
col red              ;# red color
poi .6 sel 2         ;# display points
spe mar cube         ;# cube marker

...

Ex.1: Mapping stacking velocity

1
No Format
bgColor#eeeeee
borderWidth
Code Block
# read any grid
# Will make band using triangulation of the stacking velocity line
vie def ini                  ;# Reset viewport
vie 1 1 1                    ;# Get first overall viewport
spe bgc whi                  ;# Specify background color to white
mlo velocity                 ;# Move lo stacking velocity
ssc                          ;# Scale data
osc y                        ;# View from y
mak bandsca                  ;# Make bands using scalars
map rng 1432 4826            ;# Map with range
spe liw 2                    ;# Line width 2 for contouring
con s 1500 500 5000          ;# Contour the scalars (velocity)
spe liw 1                    ;# Line width 2
vie coor 0 0 .5 .5           ;# Set up a viewport
osc y                        ;# View from y
map opa .8 rng 1432 4826     ;# Map with opacity and range
mlo velocity                 ;# Move lo stacking velocity
col bla                      ;# Black color
pol 3                        ;# Draw the vertical lines
zoom 7                       ;# Zoom into detail

...

Ex.1: Making bands between low trace and high trace

1
No Format
bgColor#eeeeee
borderWidth
Code Block
# read any grid
win demo                     ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi                  ;# Specify background color to white
# Fault traces are interpreted on beforhand
rea low_fault_trace          ;# Read low_fault_trace
mhi low_fault_trace          ;# Save in workspace
pol 2                        ;# Draw fault trace
poi                          ;# Display fault trace points
rea high_fault_trace         ;# Read high_fault_trace
pol 2                        ;# Draw fault trace
poi                          ;# Display fault trace points
mak tris low_fault_trace     ;# Make bands using scalars
map                          ;# Map
spe liw 2                    ;# Line width 2 for contouring
con i 100                    ;# Contour the scalars (velocity)
spe liw 1                    ;# Line width 2

...