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?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2017년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by