Printed axes help you understand a graph. They convey scale. In an earlier chapter (see Readying a Graph), we wrote the code to print the body of a graph. Here we write the code for printing and labeling vertical and horizontal axes, along with the body itself.
|• Labeled Example:|
|• print-graph Varlist:|
|• print-Y-axis:||Print a label for the vertical axis.|
|• print-X-axis:||Print a horizontal label.|
|• Print Whole Graph:||The function to print a complete graph.|