TubePlot

Construct a tube, or warped cylinder, along any 3D curve.
4.6K Downloads
Updated 3 Apr 2016

View License

TubePlot constructs a tube along any 3D curve. Output is much like the cylinder function.
Example:
t=linspace(0,2*pi,50);
tubeplot([cos(t);sin(t);0.2*(t-pi).^2],0.1);

Cite As

Janus H. Wesenberg (2026). TubePlot (https://uk.mathworks.com/matlabcentral/fileexchange/5562-tubeplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

Add BSD license