graph_grades.pl version 1.0 by Thomas Insel 18 December 2004 I wrote this perl script as proof of a concept for Ben Davis, using the GD.pm interface to the GD Graphics Library. The input is a text file with three or more lines of data, delimited by white space. The first field of each line is a text tag, the remainder are numbers. The values in the first line are the maximum possible scores on a series of tests. The values in the second line are the relative weights of each test. Each remaining line contains an individual students scores. If the number of entries in one of these lines is equal to the number of tests defined in the first line, the output is a graph of the student's cumulative grade after each test. If it is less, the output is a graph of cumulative grades, followed by projections if all future scores are 100%, 90%, 80%, 70%, or 0%. There is one PNG file output for each of the individual students lines. Some details of size, formating, and what grades to project can be specified by editing the configuration section of the script. The goal is to create a graph that answers, roughly, "how well must I do on the remaining tests to pass this class, to get an A, etc." REFERENCES http://www.tinsel.org/tinsel/files/graph_grades/ http://stein.cshl.org/WWW/software/GD/ http://www.boutell.com/gd/