Wiki Markup |
---|
{alias:cut} |
Name
cut — Cut grid data
Syntax
...
Make a cut line where a line crosses a grid. Input is a line in active defining the cut trace.
Arguments
workspacename
Generate a cross section following a line through the grid in workspace workspacename.
siu
Skip trace in undefined areas.
grid
The generated cut trace will be at the crossing point with the grid.
Examples
Ex.1: Title-of-example
No Format | ||||
---|---|---|---|---|
| ||||
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 222 222 ;# Make grid of dimension 222 x 222
mhi mygrid ;# Move the grid to workspace 'mygrid'
map ;# Map the grid
mak ran 5 ;# Make 5 random points
cut mygrid ;# Cut the grid with the generated line
pol 4 ;# Draw cut line with line width 4
|
...