Show time labels on points in a quiver plot (inside the plot)
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tessa
el 5 de Sept. de 2014
Comentada: Tessa
el 5 de Sept. de 2014
Is it possible to label certain points, maybe periodically, on a quiver plot? I would like to show the time or date of periodic points on the plot to make it easier to navigate or distinguish. Any help appreciated! :]
0 comentarios
Respuesta aceptada
Chad Greene
el 5 de Sept. de 2014
I don't think quiver has any built-in labeling capabilities, but you could manually add text to any location(s) with text(x,y,'text string'). Here's an example with several text labels:
x = 1:3;
y = [5 2 7];
strings = {'string 1';'string 2';'string 3'};
plot(x,y,'r.')
axis([0 4 1 8])
text(x,y,strings)
Más respuestas (0)
Ver también
Categorías
Más información sobre Vector Fields 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!