Previous: The print-X-axis Function, Up: A Graph with Labeled Axes   [Contents][Index]

C.4 Printing the Whole Graph

Now we are nearly ready to print the whole graph.

The function to print the graph with the proper labels follows the outline we created earlier (see A Graph with Labeled Axes), but with additions.

Here is the outline:

(defun print-graph (numbers-list)
  "documentation…"
  (let ((height  …
        …))
    (print-Y-axis height … )
    (graph-body-print numbers-list)
    (print-X-axis … )))
  • Changes for the Final Version
  • Testing print-graph
  • Graphing Numbers of Words and Symbols
  • A lambda Expression: Useful Anonymity
  • The mapcar Function
  • Another Bug … Most Insidious
  • The Printed Graph