README 1.2 KB

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