How I can insert label on each line in plot3

1 visualización (últimos 30 días)
Alireza Entezami
Alireza Entezami el 18 de Nov. de 2018
Comentada: Alireza Entezami el 18 de Nov. de 2018
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?

Respuesta aceptada

madhan ravi
madhan ravi el 18 de Nov. de 2018
see label and legend
xlabel('x')
legend{'1'}
  1 comentario
Alireza Entezami
Alireza Entezami el 18 de Nov. de 2018
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by