Plot: Graph Plotting
(require plot) | package: plot-gui-lib |
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.
Plot is a Typed Racket library, but it can be used in untyped Racket programs with little to no performance loss. The old typed interface module plot/typed is still available for old Typed Racket programs. New Typed Racket programs should use plot.
For plotting without a GUI, see plot/no-gui. For plotting in REPL-like environments outside of DrRacket, including Scribble manuals, see plot/pict and plot/bitmap.