Implement the MATRIX command.
[pspp] / doc / pspp-figures / matrix-print.sps
diff --git a/doc/pspp-figures/matrix-print.sps b/doc/pspp-figures/matrix-print.sps
new file mode 100644 (file)
index 0000000..240ed21
--- /dev/null
@@ -0,0 +1,7 @@
+SET MDISPLAY=TABLES.
+MATRIX.
+COMPUTE m={1, 2, 3; 4, 5, 6; 7, 8, 9}.
+COMPUTE rlabels={"a", "b", "c"}.
+COMPUTE clabels={"x", "y", "z"}.
+PRINT m/RNAMES=rlabels/CNAMES=clabels.
+END MATRIX.