1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
#lang scribble/manual
@(require "common.rkt")
@title[#:tag "top"]{Plot: Graph Plotting}
@author{@(author+email "Neil Toronto" (author-email))}
@defmodule[plot]
The Plot library provides a flexible interface for producing nearly any kind of plot.
It includes many common kinds of plots already, such as scatter plots, line plots, contour plots, histograms, and 3D surfaces and isosurfaces.
Thanks to Racket's excellent multiple-backend drawing library, Plot can render plots as interactive snips in DrRacket, as picts in slideshows, as PNG, PDF, PS and SVG files, or on any device context.
@bold{Plot is a Typed Racket library}, but it can be used in untyped Racket programs with @bold{little to no performance loss}.
The old typed interface module @racketmodname[plot/typed] is still available for old Typed Racket programs.
New Typed Racket programs should use @racketmodname[plot].
For plotting without a GUI, see @racketmodname[plot/no-gui].
For plotting in REPL-like environments outside of DrRacket, including Scribble manuals, see @racketmodname[plot/pict] and @racketmodname[plot/bitmap].
@table-of-contents[]
@include-section["intro.scrbl"]
@include-section["plotting.scrbl"]
@include-section["renderer2d.scrbl"]
@include-section["renderer3d.scrbl"]
@include-section["nonrenderer.scrbl"]
@include-section["ticks.scrbl"]
@include-section["utils.scrbl"]
@include-section["params.scrbl"]
@include-section["contracts.scrbl"]
@include-section["porting.scrbl"]
@include-section["typed-compat.scrbl"]
@include-section["compat.scrbl"]
@close-plot-eval[]
@; Needs a timeout for testing:
@(module* test racket/base
(require (submod ".."))
(module config info
(define timeout 180)))
|