link="#009900" vlink="#007700" alink="#cc0000"> Teachpacks for How to Design Programs

Graphing Functions

The teachpack provides two operations for graphing functions in the regular (north-east) quadrant of the Cartesian plane (between 0 and 10 in both directions): graphics functions:
  • graph-fun : (number -> number) symbol -> true;
    draws a function in bulletized form with a given color
  • graph-line : (number -> number) symbol -> true (no arguments);
    draws a straight-line function with a given color
  • For legal color symbols, see the documentation for the teachpack.