File Exchange

image thumbnail

Plot3 Shaded Line

version 1.0.0.0 (3.92 KB) by Dirk-Jan Kroon
Like plot3, but will plot a real (round, flat, triangle, squared) thick shaded 3D line

2 Downloads

Updated 19 Aug 2008

View License

This function works like plot3, but will display a real 3D round (vessel like), flat, triangle or squared line. Which can be shaded, because the surface is a triangulated patch.

Cite As

Dirk-Jan Kroon (2021). Plot3 Shaded Line (https://www.mathworks.com/matlabcentral/fileexchange/21116-plot3-shaded-line), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Venkatasubramanian

carmi

minimize_rot has a possible bug. At least in one occasion it resulted in the tube torquing at a point, resulting in a hole in the tube.

Line 247, instead of

dist=(circm-circmo).^2;

you probably want

dist=sqrt((circm-circmo).^2);

otherwise you sum quantities which are not the euclidean distances.

Nik F

Works as advertised! Just what I was looking for.

Rody Oldenhuis

Excellent, well written routine. Many thanks!

Tim Boye

Very nice function
Thanks a lot

jichao zhao

Thanks, it is an excellent work!

MATLAB Release Compatibility
Created with R2008a
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!