PLoT: Graph Plotting
(require plot) |
Typed Racket users should use
(require plot/typed) |
PLoT provides a flexible interface for producing nearly any kind of plot. It includes many common kinds 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 manipulatable images in DrRacket, as bitmaps in slideshows, as PNG, PDF, PS and SVG files, or on any device context.
A note on backward compatibility. PLoT has undergone a major rewrite between versions 5.1.3 and 5.2. Many programs written using PLoT 5.1.3 and earlier will still compile, run and generate plots. Some programs will not. Most programs use deprecated functions such as mix, line and surface. These functions still exist for backward compatibility, but are deprecated and may be removed in the future. If you have code written for PLoT 5.1.3 or earlier, please see Porting From PLoT <= 5.1.3 (and possibly Compatibility Module).