| Points | Task |
| 2 | Compiles |
| 3 | Draws a graph |
| 2 | Knows where you clicked the mouse |
| 2 | Knows if you clicked close to the line |
| 2 | Tells you the Y value coresponding to the X where you clicked |
| 2 | Colors the graph red/blue depending on Y value (large Y's are blue) |
| 2 | Can draw more than one graoh at the same time |
By my count, the program above gets 11 points (all but the last two).
There is a sample graphing program here for people to look at.