# incgraph

`Usage: ./incgraph <filename> [<host> <user> <pass> <table> <outputdb>]`

This tool creates a graph in a PostScript file as part of a PLUM run. The graph is a line graph, with a line for each increment-length resource. Along the horizontal axis of the graph are the number of racks selected in the combinations, and the vertical axis is what percentage of combinations did not exceed in that resource.

The graph generated has two pages, the second of which is a table containing all the values in the graph for easy reference.

Expectedly, the lines go from the top of the graph with low-numbered combos to the bottom with combos containing many racks. What this graph is most often used for is the 50% point, or where the line for all resources crosses 50% successful combinations.

Parameters:

- filename: The filename to put the graph in.
- host: The machine the database server is running on.
- user: The username for the database server.
- pass: The password for the database server.
- table: The name of the table that the run has put the output data in.
- outputdb: The name of the database that is being used for PLUM run output.