How I can insert label on each line in plot3

조회 수: 2 (최근 30일)
Alireza Entezami
Alireza Entezami 2018년 11월 18일
댓글: Alireza Entezami 2018년 11월 18일
I draw some lines in 3d space with plot3.
I want to insert label (for example numer, i.e. 1,2, 3, ...) on each line after drawing each line in 3d space. How I can do it?

채택된 답변

madhan ravi
madhan ravi 2018년 11월 18일
see label and legend
xlabel('x')
legend{'1'}
  댓글 수: 1
Alireza Entezami
Alireza Entezami 2018년 11월 18일
Thanks for helping me. But I have another problem.
As you can see in attached file, I want to know that how i can write the number of each line on each line in figure as an annotation. I want to insert the number of each line on it during the drawing in plot3 comment.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by