Get values from, or set values for, a matrix window.
Please see the msetvalue X-Function. |
matrix [option] argument
Syntax: matrix -c r
Rotate the matrix 90 degrees.Imported Images must be converted to gray-scale. See the Convert matrix image to data without prompting option
Syntax: matrix -c h
Flip the matrix horizontally.Imported images must be converted to gray-scale. See the Convert matrix image to data without prompting option.
Syntax: matrix -c v
Flip the matrix vertically.Imported images must be converted to gray-scale. See the Convert matrix image to data without prompting option.
Syntax: matrix -d i
Delete all cached matrix object images in the sheet
Syntax: matrix -d1 i
Delete cached matrix object image from the active sheet
Syntax: matrix -d2 i
Delete all cached matrix object images except in the active sheet
Syntax: matrix -d m
Delete colormap for all matrix objects in the sheet
Syntax: matrix -d1 m
Delete colormap for the active matrix object only
Syntax: matrix -d2 m
Delete colormap for all matrix objects in the active sheet except the active object
Syntax: matrix -e
Open the Set Matrix Values dialog box.
Syntax: matrix -e d
Open the Matrix Properties dialog box.
Syntax: matrix -e m
Open the Matrix Dimensions dialog box.
Syntax: matrix -g
Syntax: matrix -id
Syntax: matrix -ig
Convert matrix image to gray scale with conformation prompt.
Syntax: matrix -ii [option]
matrix -ii -- change to image view mode, active matrix object only
matrix -ii 0 -- change to data mode, active matrix object only
matrix -ii 1 0 -- all objects change to image view
matrix -ii 0 0 -- all objects change to data view
Syntax: matrix -in
Convert matrix image to data without prompting.
Syntax: matrix -it value
value = 1, show image thumbnails for the active matrixbook, and value = 0, hide image thumbnails for the active matrixbook.
Syntax: matrix -pg parameter varName1 varName2
Get the specified parameter, as described with the Set parameter to specified range of values option.
Syntax: matrix -ps parameter value1 value2
Set parameter to the specified range of values.Possible values for parameter, value1, and value2 are shown below. Only the first parameter letter is required.
DIM nCol nRow -- Sets the matrix column by row size.
X xMin xMax -- Sets the matrix X mapping range.
Y yMin yMax -- Sets the matrix Y mapping range.
Syntax: matrix -t
Transpose the active matrix.
Syntax: matrix -v expression
Fill the matrix with values from the expression.The current XY mapping relation is used. You can use X and Y in the expression, as well as i and j (the row and column number value for any particular cell).
Syntax: matrix -vu expression
Same as -v but supports Undo.
The following script puts the X minimum and X maximum values into xmin and xmax.
matrix -pg X xmin xmax;
The next script fills the matrix with the given expression.
matrix -v sin(x)+cos(y);