{"size": 905, "ext": "scrbl", "max_stars_repo_path": "htdp-doc/teachpack/htdp/scribblings/graphing.scrbl", "max_stars_repo_name": "bdeket/htdp", "max_stars_repo_stars_event_min_datetime": "2015-01-14T20:28:41.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-20T04:04:26.000Z", "max_issues_repo_path": "htdp-doc/teachpack/htdp/scribblings/graphing.scrbl", "max_issues_repo_name": "bdeket/htdp", "max_issues_repo_issues_event_min_datetime": "2015-01-14T19:50:21.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-19T21:38:00.000Z", "max_forks_repo_path": "htdp-doc/teachpack/htdp/scribblings/graphing.scrbl", "max_forks_repo_name": "bdeket/htdp", "max_forks_repo_forks_event_min_datetime": "2015-01-14T19:11:38.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-24T05:11:39.000Z"}
{"max_stars_count": 85, "max_issues_count": 132, "max_forks_count": 81, "avg_line_length": 33.5185185185, "max_line_length": 83, "alphanum_fraction": 0.7447513812}
#lang scribble/doc

@(require scribble/manual "shared.rkt"
          (for-label racket teachpack/htdp/graphing))

@teachpack["graphing"]{Graphing Functions}

@;declare-exporting[teachpack/htdp/graphing]
@defmodule[#:require-form beginner-require htdp/graphing #:use-sources (htdp/draw)]

The teachpack provides two functions 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 @racket[f] with the given @racket[color].}

@defproc[(graph-line [line (-> number? number?)][color symbol?]) true]{
Draws @racket[line], a function representing a straight line, with a given
color.} 

For color symbols, see @secref{draw}. 

In addition, the teachpack re-exports the entire functionality of the
drawing library; see @secref{draw} for documentation. 

