Skip to main content

Crate ccalc_plot

Crate ccalc_plot 

Source
Expand description

Plot plugin for ccalc — Phase 32f.

Provides plot, scatter, bar, stem, hist, stairs, loglog, semilogx, semilogy, plot3, scatter3, imagesc, image, imshow, surf, mesh, contour, contourf, subplot, hold, savefig, fill, area, polar, quiver, text, axis, line, patch, rectangle, errorbar, pie, and annotation functions (xlabel, ylabel, zlabel, title, legend, xlim, ylim, zlim, grid, colormap, colorbar). Rendering requires the plot or plot-svg feature flags; annotation-only calls work in every build configuration.

§Feature flags

FlagBackendExtra size
plotASCII via textplots~100 KB
plot-svgSVG + PNG via plotters~3 MB
plot-allBoth tierscombined

Build with --features plot to enable ASCII rendering.

Modules§

colormap
Colormap LUT data and imagesc rendering (ASCII and SVG/PNG).
dispatch
Argument parsing helpers shared by all plot backends.
proj3d
Orthographic 3D projection for plot3 / scatter3.
style
MATLAB-style plot style string parsing.

Structs§

FigureState
Per-figure annotation and accumulation state.
Panel
A committed subplot panel ready for file rendering.
PlotPlugin
Plot plugin — registers all 2D/3D plotting functions.

Enums§

PendingSeries
A renderable data series stored for deferred rendering under hold/subplot.