{ (define LIBNAME "Graphing Functions") (include "head.tinc") } The teachpack graphing.ss 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:
  • {(idx graph-fun)} : (number -> number) symbol -> true;
    draws a function in bulletized form with a given color
  • {(idx 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 draw.ss teachpack.
    {(include "foot.tinc")}