1 2A program that displays a matrix as a gray scale image on PostScript 3printers. May be useful if you have a large matrix and want a simple 4way to look for patterns. Expect a 600x600 matrix is an optimistic 5upper limit on a 300 dpi printers using 5 shades of gray and 8.5x11 6inch paper. 7 8Matrix elements are a series of floating point numbers arranged in 9the input file in row major order. By default each matrix is assumed 10to be square and the number of rows (and columns) is set to the square 11root of the number of elements in the input file. White space, including 12newlines, is not used to determine the matrix dimensions. Each matrix 13element is mapped into an integer in the range 0 to 255 (254 by default) 14and PostScript's image operator maps that integer into a gray scale 15appropriate for the printer. 16 17The mapping from floating point matrix elements to integers is controlled 18by an interval list and grayscale map. The default interval list is 19"-1,0,1" which partitions the real line into 7 regions. The default 20grayscale map gets darker as the regions move from left to right along 21the real line. The -i option changes the interval list and the -g option 22modifies the grayscale mapping. Check the man page for more details. 23 24