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

2 次查看(过去 30 天)
%I want to add the quiver in the circular array, means that a color show a
%particluar direction.

回答(1 个)

Image Analyst
Image Analyst 2023-1-26
编辑:Image Analyst 2023-1-26
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.

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by