Next: The print-X-axis Function, Previous: The print-graph Varlist, Up: A Graph with Labeled Axes   [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.

  • The print-Y-axis Function in Detail
  • What height should the label be?
  • Side Trip: Compute a Remainder
  • Construct a Y Axis Element
  • Create a Y Axis Column
  • The Not Quite Final Version of print-Y-axis