How to let vector direction define quiver plot colors
7 次查看(过去 30 天)
显示 更早的评论
I'm trying to plot some vector data in matlab using the quiver function (full disclosure, I'm actually using m_quiver from the m_maps toolbox).
What I want is to set each individual arrow color to be relative to its direction, e.g. north being red, south being blue. Is there a way to do this? I'm picturing something like the CData option with scatter plots!
2 个评论
Theresa Morrison
2019-2-12
Hi Aidan, Did you find something to do this? I am interested in the same sort of plotting.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vector Fields 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!