This menu is only active when a matrix is selected.

## Set Properties...

This command opens a dialog window which is used to specify some view parameters of the matrix (cell width, format of numbers).

## Set Dimensions... (Ctrl-D)

This command opens a dialog window which is used to specify the size of a matrix. It can also be used to specify the X and Y ranges which will be used as axis ranges for a 3D-plot of the matrix data.

## Set Values... (Ctrl-Q)

This command opens a dialog window which is used to fill in a matrix with the result of a function z=f(i,j) in which i and j stand for the row and column numbers.

## Recalculate (Ctrl-Return)

This command allows you to recalculate the matrix cell values using a predefined formula. Useful when the formula is changed.

## Rotate 90 (Ctrl-Shift-R)

This command performs a clockwise 90 degrees rotation of the active matrix.

## Rotate -90 (Ctrl-Alt-R)

This command performs a counterclockwise 90 degrees rotation of the active matrix.

## Flip V (Ctrl-Shift-V)

Flips the selected matrix vertically.

## Flip H (Ctrl-Shift-H)

Flips the selected matrix horizontally.

## Expand...

Opens the matrix resampling dialog. Expanding operation is preselected in the dialog.

## Shrink...

Opens the matrix resampling dialog. Shrinking operation is preselected in the dialog.

## Smooth

Matrix smoothing is performed by shrinking and then expanding the matrix using bilinear interpolation. If the number of columns or rows is less than 32, the matrix is first expanded so that the row number and the column number are both twice of the original. Then the expanded matrix is shrunk to the original size. Through this process of expanding and shrinking, the size of the output matrix will be exactly the same as the original matrix. However, the data will be much smoother. If both the number of columns and the number of rows in the original matrix are greater than 31, the matrix is first shrunk and then expanded to obtain the smoothed matrix.

## Transpose

Perform a Transpose operation on the selected matrix.

## Invert

Invert the selected matrix.

## Determinant

Compute the determinant of the selected matrix.

## Go To Commands

The Go to Row... and Go to Column... commands are the same as those described in the Table menu

## View Commands

This group of commands allows you to choose how the matrix will be displayed.

### Image mode (Ctrl-Shift-I)

Displays the selected matrix as an image.

### Data mode (Ctrl-Shift-D)

Displays the selected matrix as a data table.

## Palette

### Gray Scale Map

If the selected matrix is viewed as an image, this command sets the palette to a gray scale.

### Rainbow

If the selected matrix is viewed as an image, this command sets the palette to a predefined color scale.

### Custom

Opens the Custom Color Map dialog allowing customization of the palette used by the selected matrix when the matrix is displayed as an image.

## Show Column/Row (Ctrl-Shift-C)

When this option is checked, the horizontal and vertical headers of the selected matrix will display the column/row indexes.

## Show X/Y (Ctrl-Shift-X)

When this option is checked, the horizontal and vertical headers of the selected matrix will display the x/y coordinates.