Skip to content

curve

Smooth curve through points (Bézier / spline-like rendering).

h = curve(y, ...)
h = curve(x, y, ...)

Like plot but renders a smooth curve through the points using cubic interpolation rather than straight line segments.

MathJet-specific (not in MATLAB).

curve(x, y)
  • plot — 2D line / marker plot.
  • tube — Tube plot — line plot rendered with a tube of finite radius.