Adding a point on a quiver graph.
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alice K
el 1 de Jul. de 2022
Editada: Cris LaPierre
el 2 de Jul. de 2022
Hi All,
I have a graph like this, how would I go about adding a point of this grid. Is this something that is a possible thing to do?
Thanks
2 comentarios
Adam Danz
el 1 de Jul. de 2022
What is "adding a point of the grid"?
Do you mean you'd like to add another quiver arrow? Do you want to add a point marker to the plot? What grid?
Respuesta aceptada
Cris LaPierre
el 1 de Jul. de 2022
Editada: Cris LaPierre
el 2 de Jul. de 2022
You would just use an additional plot command to add the point(s) you want with the desired marker. For example
load('wind','x','y','u','v')
X = x(11:22,11:22,1);
Y = y(11:22,11:22,1);
U = u(11:22,11:22,1);
V = v(11:22,11:22,1);
quiver(X,Y,U,V)
axis equal
hold on
plot(X(5,5),Y(8,3),'rx')
hold off
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!