Graphing Functions
graphing-lib.ss
The library
graphing-lib.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:
graph-fun
: (number -> number) color -> #t;
draws a function in bulletized form
graph-line
: (number -> number) color -> #t (no arguments);
draws a straight-line function
For
color
, see
the documentation for the draw library.