GUI to fill data grids with seeded values
seedm will be removed in a future release.
Encoding is the process of filling in specific values in regions of a data grid up to specified boundaries, which are indicated by entries of 1 in the variable map. Encoding entire regions at one time allows indexed maps to be created quickly.
seedm(datagrid,refvec) displays the surface map in a new figure window and allows for seeds to be specified and the encoded map generated. The encoded map can then be saved to the workspace. map is the data grid and must consist of positive integer index values. refvec is the referencing vector of the surface.
The Zoom On/Off menu toggles the zoom box on and off. The box can be moved by clicking the new location or by dragging the box to the new location. The box size can be increased or decreased by dragging a corner of the box. Pressing the Return key or double-clicking in the center of the box zooms in to the box limits.
The Colormaps menu provides a variety of colormap options that can be applied to the map. See clrmenu in this guide for a description of the Colormaps menu options.
The Get button allows mouse selection of points on the map to which seeds are assigned. The number of points to be selected is entered in the # of Seeds edit box. The value of the seed is entered in the Value edit box. This seed value is assigned to each point selected with the mouse. The Get button is pressed to begin mouse selection. After all the points have been selected, the Fill In button is pressed to perform the encoding operation. The region containing the seed point is filled in with the seed value. The Reset button is used to disregard all points selected with the mouse before the Fill In button is pressed.
Alternatively, specific map values can be globally replaced by using the From/To edit boxes. The value to be replaced is entered in the first edit box, and the new value is entered in the second edit box. Pressing the Change button replaces all instances of the From value to the To value in the map.
The Save button is used to save the encoded map to the workspace. A dialog box appears in which the map variable name is entered.