Next: print-X-axis, Previous: print-graph Varlist, Up: Full Graph [Contents][Index]
print-Y-axis FunctionThe 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.
| • print-Y-axis in Detail | ||
| • Height of label | What height for the Y axis? | |
| • Compute a Remainder | How to compute the remainder of a division. | |
| • Y Axis Element | Construct a line for the Y axis. | |
| • Y-axis-column | Generate a list of Y axis labels. | |
| • print-Y-axis Penultimate | A not quite final version. |