StreamPlot¶
Status: Experimental
present and registered, but lightly documented and not yet covered by dedicated tests.
Description¶
StreamPlot[{vx, vy}, {x, xmin, xmax}, {y, ymin, ymax}, opts...]
Traces streamlines of the 2-D vector field {vx, vy} by RK4 integration
from a grid of seed points, and returns a Graphics[{Arrow[...], ...}, opts]
object (auto-displayed). StreamPlot is HoldAll: vx, vy, and the iterator
specs are held unevaluated until x and y are given numeric values.
Options:
StreamPoints - Integer n (n x n seed grid) or Automatic (default 15 x 15).
StreamScale – Automatic (8%% of domain diagonal, default), None (full run),
or a real fraction of the domain diagonal.
StreamStyle – Style directive(s) applied to all streams.
StreamColorFunction / ColorFunction
– f[x,y,vx,vy,speed] (or fewer args) returning a color,
or a named ramp: "Rainbow", "CoolTones",
"WarmTones", "Greyscale", "Temperature"
(all keyed to scaled speed).
RegionFunction – f[x,y] mask; seeds outside the region are skipped.
PlotLegends – Automatic / "Expressions" / explicit label list.
Standard Graphics options (PlotRange, Axes, AspectRatio, Frame, …)
pass through to the Graphics[...] result.
Examples¶
No verified examples yet for this function.
Implementation notes¶
Attributes: HoldAll, Protected.
Implementation status¶
Experimental — present and registered, but lightly documented and not yet covered by dedicated tests.
References¶
- Source:
src/graphics/graphics_init.c - Specification:
docs/spec/builtins/graphics.md