Displaying the Data in the Grid

When the data is displayed in the grid, you can customize the display and work with the content of the grid. The grid is updated with the new data in all visualizer windows each time you press F7 or F8 or the debugger stops at a breakpoint. This is the drop-down menu of the grid:

The drop-down menu of the grid

Split complex numbers

The first command, Split complex numbers, affects the display of complex numbers. By default they are shown like this:

Complex numbers, one column each

With Split complex numbers selected, they are shown like this:

Complex numbers split into real and imaginary columns

0-Re is column 0, the real part of the complex number, and 0-Im is column 0, its imaginary part. This is useful with numbers in scientific notation, which can look like this:

Complex numbers in scientific notation, one column each

That is harder to read than the real and imaginary parts in separate columns.

Scientific format and String format

The second command of the popup menu is Scientific format. When it is not checked, the formatting is defined with the String format command of the same menu:

The String format command

Use these commands when the automatic setting does not give adequate results.

Column width

The Column width command defines the width of the columns explicitly. Use it when the automatic setting does not work well. For the automatic setting, set the value to zero.

The Column width command

Copy and Copy selection

Copy copies the whole vector or matrix displayed in the grid to the clipboard, in a format that can be pasted as numbers into an Excel sheet or any text editor.

Copy selection copies only the current cell or the range of selected cells. To select a range, hold down SHIFT and click the first and the last cell. These can be cells of the grid or headers of columns and rows: clicking the header of a row selects the entire row, and clicking the header of a column the entire column. Holding down SHIFT selects the first and the last row, or the first and the last column. This is useful when the matrices are large.

An expression does the same, for example:

c(2:, 3:)

It shows all rows and columns of the matrix except the first two rows and the first three columns. Enter such an expression into the edit box below the grid, when the button Expression button is pressed.