image thumbnail

TubePlot

version 1.0.0.0 (2.28 KB) by Janus H. Wesenberg
Construct a tube, or warped cylinder, along any 3D curve.

4.1K 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 (2022). TubePlot (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!