The following options are supported:
-b Treat the INPUT file as a binary matrix (as saved by the matrix_file.h functions)
-f First line of file will contain [columns] [rows] [low] [high]
-i Swap x/y axis, so first element is in bottom-left corner
-log Use log scale
-s scale.bmp Use
file for the colour scale
-z n The
size, in pixels, each data point should be.
test.txt
file can be converted into a bitmap:dat2bmp test.txt expected.bmp -s scale.bmp