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

1 次查看(过去 30 天)
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?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by