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

2 visualizzazioni (ultimi 30 giorni)
%I want to add the quiver in the circular array, means that a color show a
%particluar direction.

Risposte (1)

Image Analyst
Image Analyst il 26 Gen 2023
Modificato: Image Analyst il 26 Gen 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.

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by