Next: , Previous: , Up: Full Graph   [Contents][Index]

C.2 The print-Y-axis Function

The job of the print-Y-axis function is to print a label for the vertical axis that looks like this:

    10 -

     5 -

     1 -

The function should be passed the height of the graph, and then should construct and insert the appropriate numbers and marks.