Skip to content

tube

Tube plot — line plot rendered with a tube of finite radius.

h = tube(x, y, z, ...)

Like plot3 but the line is rendered as a 3D tube with a controllable radius. Useful for emphasizing trajectories in 3D space.

MathJet-specific (not in MATLAB).

tube(cos(t), sin(t), t, 'Radius', 0.1)
  • plot3 — 3D line plot.
  • line3d — 3D line plot with thick rendering.
  • belt — Belt plot — line plot rendered as a 3D ribbon.