gse - Grid selection of a sub grid

Name

gse — Grid selection of a sub grid out of a larger grid

Syntax

For surface grids:

gse [nfa]

gse ind xlo_index ylo_index xhi_index yhi_index

gse 2d xlo_value ylo_value xhi_value yhi_value

gse hi workspacename

For cubes:

gse [nfa]

gse zlo_value zhi_value

gse 3d xlo_value ylo_value zlo_value xhi_value yhi_value zhi_value

Description

Select (extract) a sub section of a grid (or a cube).

Arguments

For surface grids:
No arguments.

The selection of the grid is made within the active window.

nfa

The grid selection applies no factor at the start and end. The factor (default 1) is multiplied with the grid increment and used to extent the selection area.

ind xlo_index ylo_index xhi_index yhi_index

The grid is selected using grid indices: xlo_index ylo_index xhi_index yhi_index.

2d xlo_value ylo_value xhi_value yhi_value

The grid is selected using grid coordinate values: xlo_value ylo_value xhi_value yhi_value.

hi workspacename

The grid is selected according to another grid in workspace workspacename.

For cubes:
No arguments.

The selection of the cube is made within the active window.

nfa

The grid selection applies no factor at the start and end. The factor (default 1) is multiplied with the grid increment and used to xlo_value ylo_value zlo_value xhi_value yhi_value zhi_value

The cube is selected according to coordinate values: xlo_value ylo_value zlo_value xhi_value yhi_value zhi_value.

Examples

Ex.1: Selecting a grid inside the graphical window

d2              ;# Enter 2D mode
spe win         ;# Select window inside visible frame
gse             ;# Select grid inside window

See also

ewi - Expand window, gen - Generate grid, win - Window specification