필터 지우기
필터 지우기

Assigning labels and lines to points on a 3D scatter plot

조회 수: 26 (최근 30일)
Chris
Chris 2021년 3월 3일
답변: darova 2021년 3월 4일
So I have the following code:
x = 1
y = 1
z = 1
scatter3(x,y,z)
text(x+.5,y+.5,z+.5,'point 1', 'FontSize', 20)
I want to draw a line from the label I created, regardless of the postion I assign the text to be, to the location of the plotted point on the graph.
Any suggestions?

답변 (1개)

darova
darova 2021년 3월 4일
Use plot3 or line

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by