How to draw line in viewer3d ?

8 次查看(过去 30 天)
philippe duvauchelle
philippe duvauchelle about 19 hours 前
回答: Matt J about 1 hour 前
Hello,
I m trying to use viewer3d as a openGL viewer and it works well for 3D surface and 3D points using images.ui.graphics.Surface and images.ui.graphics.Points but i wonder if it is possible to draw line or connected line inside the viewer ? I dont mean how to show wireframe when using a surface or annotation line.
I just try for exemple to attached 3 vectors in X,Y and Z direction to each 3D object.
I saw 2 functions WideLine and Thinline but i did not find any documentation about them.
Thanks for your help

回答(1 个)

Matt J
Matt J about 1 hour 前
You could use images.ui.graphics.Surface to create a very thin cylinder, could you not?

产品


版本

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by