insertshape in 3D (draw line in 3D image)

I'm trying to draw a line between two points in a 3D image with the same effect as:
plot3([point1(1),point2(2)], [point1(2),point2(1)], [point1(3),point2(3)], 'k-');
matlab insertshape works only in 2D I wonder if there is a way to do this in 3D image?

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by