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

1 view (last 30 days)
khcy82dyc
khcy82dyc on 2 May 2017
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!