The print-X-axis
function is constructed in more or less the
same fashion as the print-Y-axis
function except that it has
two lines: the line of tic marks and the numbers. We will write a
separate function to print each line and then combine them within the
print-X-axis
function.
This is a three step process:
print-X-axis-tic-line
.
print-X-axis-numbered-line
.
print-X-axis
function,
using print-X-axis-tic-line
and
print-X-axis-numbered-line
.