how to label figure with vertex point in matlab
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rashi Mehrotra
el 16 de Dic. de 2021
Respondida: KSSV
el 16 de Dic. de 2021
I have a ploygon with four vertex points , how can I label those vertex point as 'A','B','C','D'.
0 comentarios
Respuesta aceptada
KSSV
el 16 de Dic. de 2021
A = rand(1,2) ;
B = rand(1,2) ;
C = rand(1,2) ;
P = [A;B;C;A] ;
label = {'A'; 'B' ; 'C'} ;
plot(P(:,1),P(:,2),'.-r')
text(P(1:3,1),P(1:3,2),label)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!