This directory holds the code for the 'plotcsv' program. This program is meant to be used to view stage versus time from an ANUGA *.csv data file and compare a similar graph from another file as a quality assurance step. Usage: plotcsv.py where is the path to the data file to plot and is zero or more of: -x where is a column specifier, -y either a number or a header string -v force a range in Y axis values, of the form ,, eq, "-5,10" -h prints this help The values above may be either a column number (starting from the left at column 0) or a string that must match one of the column header strings in the first line of the CSV file. If the '-x' or '-y' options x are not supplied then the X column is assumed to be column 0 and the Y column is assumed to be column 1. The '-v' option can be used to force a max/min range in the Y axis to allow easier comparison of two graphs that would otherwise autoscale the Y axis differently. Ideally, the program will stop running but leave the plot window on the screen, to be closed by the user, but this doesn't appear possible with matplotlib. For example, try: plotcsv.py -x time -y stage test.csv or plotcsv.py -x time -y stage -v -2,25 test.csv or plotcsv.py -x time -y depth test.csv or plotcsv.py -x 0 -y 1 test.csv or even plotcsv.py test.csv