Alexander Friedman,
Jamie Raymond,
and Neil Toronto
This module provides an interface compatible with Plot 5.1.3 and earlier.
Do not use this module in new programs. It is likely to disappear in a near future release.
Do not try to use both plot and plot/compat in the same program. The new features in Plot 5.2 and later require the objects plotted in plot have to be a different data type than the objects plotted in plot/compat. They do not coexist easily, and trying to make them do so will result in errors.
procedure
[ #:widthwidth#:heightheight#:x-minx-min#:x-maxx-max#:y-miny-min#:y-maxy-max#:x-labelx-label#:y-labely-label#:titletitle#:fgcolorfgcolor#:bgcolorbgcolor#:lncolorlncolor
A data value is represented as a procedure that takes a 2d-plot-area% instance and adds plot information to it.
The result is an image-snip% for the plot. If an #:out-file path or port is provided, the plot is also written as a PNG image to the given path or port.
The #:lncolor keyword argument is accepted for backward compatibility, but does nothing.
procedure
[ #:widthwidth#:heightheight#:x-minx-min#:x-maxx-max#:y-miny-min#:y-maxy-max#:z-minz-min#:z-maxz-max#:altalt#:azaz#:x-labelx-label#:y-labely-label#:z-labelz-label#:titletitle#:fgcolorfgcolor#:bgcolorbgcolor#:lncolorlncolor
A 3D data value is represented as a procedure that takes a 3d-plot-area% instance and adds plot information to it.
The #:lncolor keyword argument is accepted for backward compatibility, but does nothing.
procedure
( points vecs[#:symsym#:colorcolor])
procedure
[ #:samplessamples#:widthwidth#:colorcolor#:modemode#:mappingmapping#:t-mint-mincolor:plot-color/c='red
The line is specified in either functional, i.e. y = f(x), or parametric, i.e. x,y = f(t), mode. If the function is parametric, the mode argument must be set to 'parametric. The t-min and t-max arguments set the parameter when in parametric mode.
procedure
( error-bars vecs[#:colorcolor])
procedure
[ #:samplessamples#:widthwidth#:colorcolor#:stylestyle])
procedure
[ #:samplessamples#:widthwidth#:colorcolor#:levelslevels])color:plot-color/c='black
procedure
( shade f[#:samplessamples#:levelslevels])
procedure
[ #:samplessamples#:widthwidth#:colorcolor])color:plot-color/c='black
procedure
( plot-color? v)→boolean?
v:any/c
'white'black'yellow'green'aqua'pink'wheat'grey'blown'blue'violet'cyan'turquoise'magenta'salmon'red
procedure
( gradient f[h])
procedure
( make-vec fxfy)