PRINT Statement (MATRIX-END MATRIX command)
The PRINT
statement displays matrices or matrix expressions. Its syntax is
as follows:
PRINT [matrix expression]
[/FORMAT="format descriptor"]
[/TITLE="title"]
[/SPACE={NEWPAGE}]
{n }
[{/RLABELS=list of quoted names}]
{/RNAMES=vector of names }
[{/CLABELS=list of quoted names}]
{/CNAMES=vector of names }
Notes
- The
MDISPLAY
global setting specifies how matrices are displayed. By default, IBM® SPSS® Statistics displays matrices toTEXT
. TheTABLES
setting uses pivot tables to display matrices. When the MDISPLAY global setting is used, thePRINT
statement uses eitherTEXT
orTABLES
mode exclusively (whichever is specified for MDISPLAY). - When the
PRINT
statement is used inTABLES
mode, it supports long row and column names when they are explicitly specified in either the/RLABELS
or/CLABELS
subcommands. When aPRINT
statement is used inTEXT
mode, row and column names are truncated to 8 bytes on anyPRINT
subcommand in which they are specified. When row and column names are not specified, default namesrow1
,row2
, … andcol1
,col2
, … are used. - When the
PRINT
statement is used inTABLES
mode, the scaling factor is shown in the output annotation.