plot3 curve to cylinder with curve as center
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Julius Schroers
am 8 Dez. 2021
Kommentiert: William Rose
am 9 Dez. 2021
I am currently trying to display my curves as cylinders using the surf function. With surf([x;x],[y;y],[z;z]) I can display my curve as a simple line. Is there an optimal approach to display this line as a cylinder? Alternatively I can increase the LineWidth but then the surface would behave exactly like the plot3 with increased LineWidth.
On the attached image all curves are plotted using the plot3 function and adjusting the LineWidth. I would like to display these curves as a cylinder using the surf function.
0 Kommentare
Akzeptierte Antwort
William Rose
am 8 Dez. 2021
Good luck.
2 Kommentare
William Rose
am 9 Dez. 2021
@Julius Schroers, you're welcome. Give credit to @Janus H. Wesenberg when you publish or present. By the way, I made a modified version of tubeplot that plots tapered tubes and removes the end caps. Your plot looks really nice and very sophisticated. The equations for the tube centerlines must be very complicated! Good luck with your work.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!