A newer version of Max is available. Click here to access the latest version of this document.

jit.print

Print a matrix as text in the Max window

Description

The jit.print object prints matrix values for display in the Max window. Due to limitations of the Max window, it works best for smaller matrices. To see larger matrices, see the jit.fprint, which works similarly, but prints to a file. Delimiters may be set for plane, column and row. Dimensions are delimited by DIM N , where N = the current dimension.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 1 1 1 1 1 char long float32 float64

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Attributes

Name Type g/s Description
coldelim symbol The column delimiter (default = comma)
fieldwidth int The size, in character spaces, used to display a cell's value (default = 3)
info int Display mode (default = 0 (matrix, no info))
0 = display matrix contents, no info
1 = display matrix info and contents
2 = display matrix into only
mode int Character display mode (default = 0 (decimal))
0 = decimal
1 = hexadecimal (used for char and long matrices only)
2 = ascii (used for char matrices only)
planedelim symbol The plane delimiter (default = space)
precision int The number of characters of floating-point precision (default = 3)
rowdelim symbol The row delimiter (default = carriage return)
title symbol The matrix display title (as opposed to the matrix name) (default = no title)
zeropad int Zeropadding flag (default = 0) When the flag is set, empty display spaces in a matrix are filled with zeros.

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.fpsgui Display fps, ms, and matrix attributes
jit.fprint Read and write a single matrix as a formatted text file
jit.matrixinfo Report matrix planecount, type, dimensions
Tutorial 2: Create a Matrix Tutorial 2: Create a Matrix
Tutorial 11: Lists and Matrices Tutorial 11: Lists and Matrices