LXer: Visualising data as a PGM image
by LXer from LinuxQuestions.org on (#5MY4A)
Published at LXer:
An ASCII PGM file ("Portable Gray Map") is a simple text file that encodes a grayscale image. It's so simple that I was tempted to build a PGM from a 3-parameter dataset, with "x" for image width, "y" for image height and various gray colors for "z" categories. The resulting image wasn't impressive, but the method might be useful for other datasets.
Read More...


An ASCII PGM file ("Portable Gray Map") is a simple text file that encodes a grayscale image. It's so simple that I was tempted to build a PGM from a 3-parameter dataset, with "x" for image width, "y" for image height and various gray colors for "z" categories. The resulting image wasn't impressive, but the method might be useful for other datasets.
Read More...