How can I add quiver in this according to their color?

2 visualizaciones (últimos 30 días)
SAHIL SAHOO
SAHIL SAHOO el 26 de En. de 2023
Editada: SAHIL SAHOO el 27 de En. de 2023
%I want to add the quiver in the circular array, means that a color show a
%particluar direction.

Respuestas (1)

Image Analyst
Image Analyst el 26 de En. de 2023
Editada: Image Analyst el 26 de En. de 2023
Use annotation. Set the color according to the angle. Should be easy, right?
You should not have removed all the comments when you posted your code. I'm sure you had them in there, like all good programmers do, but when you removed them it made it difficult for us to follow your code. Please put the comments back in and specifically call out what variables are the (x,y) centers of the small spots, and what variable contains the angles that you'd like the arrows pointing along.

Categorías

Más información sobre Vector Fields 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