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

2 Ansichten (letzte 30 Tage)
SAHIL SAHOO
SAHIL SAHOO am 26 Jan. 2023
Bearbeitet: SAHIL SAHOO am 27 Jan. 2023
%I want to add the quiver in the circular array, means that a color show a
%particluar direction.

Antworten (1)

Image Analyst
Image Analyst am 26 Jan. 2023
Bearbeitet: Image Analyst am 26 Jan. 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.

Kategorien

Mehr zu Vector Fields finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by