Matthew Johnson

Graph Viewer

Latest Stable Version - 1.1

Graph Viewer is a program for viewing GPH files, a simple plain-text format that is easy to produce, allowing for quick and easy display of line graph data. The GPH file format is as follows ([] indicates required, () denotes optional):

[a title]
(HIDE_LEGEND)
[x_axis_title] ([minimum value] [maximum value] (R))
[y_axis_title] ([minimum value] [maximum value] (R))
# and then either
[curve_label] [point count] (ErrorBars|Mark) (R G B)
[x] [y] (standard error)
...
# or
[line_label] line (ErrorBars|Mark) (R G B)

The best way to get acquainted with the format is to look at the two sample graphs, which demonstrate all the main combinations of options. Once the graph looks the way you want it, right click on it to save it to disk. One interesting aspect of the program is that it will monitor the file on disk and update the graph to reflect its state. As such, a program can append data points to a file and they will show up on the graph once the buffer is flushed to disk, sometimes useful for monitoring a program's operation.

All the graph display is provided courtesy of the excellent ZedGraph library for .NET. This program requires the .NET Framework 2.0 (or more recent) runtime.

Sample Graph 1Sample Graph 2
Some Sample Graphs

Revision Information

Version 1.1 (3/13/2007)

  • Fixed bug where empty lines at the end of a file would cause an error.
  • Added the file name to the title bar.
  • Made the text parsing case-independent.

Version 1.0 (2/14/2007)

  • First public release.
Snapshot