racket/collects/teachpack/htdp/scribblings/graphing.scrbl
Eli Barzilay afad5af486 * Added a `teachpack' function to do teachpack titles
* Made it add "foo teachpack" as an index entry

svn: r10687
2008-07-09 02:28:20 +00:00

24 lines
716 B
Racket

#lang scribble/doc
@(require scribble/manual "shared.ss"
(for-label scheme
teachpack/htdp/graphing))
@teachpack["graphing"]{Graphing Functions}
@declare-exporting[teachpack/htdp/graphing]
The teachpack provides two operations for graphing functions in the regular
(upper right) quadrant of the Cartesian plane (between 0 and 10 in both
directions):
@defproc[(graph-fun [f (-> number? number?)][color symbol?]) true]{
Draws the graph of @scheme[f] with the given @scheme[color].}
@defproc[(graph-line [line (-> number? number?)][color symbol?]) true]{
Draws @scheme[line], a function representing a straight line, with a given
color.}
For color symbols, see @secref{draw}.