quiver arrows in color representing another variable?
7 ビュー (過去 30 日間)
古いコメントを表示
Hi
Is it possible to incorporate a second variable into the quiver code? Could the color arrows in quiver be used to represent another variable, such as temperature or humidity ? This would work similarly to the scatter code, where the arrows indicate both the direction and magnitude of the wind but in color another variable?.
Thanks
3 件のコメント
Dyuman Joshi
2023 年 8 月 22 日
You could try getting a similar plot via feather() instead of quiver().
回答 (1 件)
Walter Roberson
2023 年 8 月 21 日
Not by using quiver(). quiver() creates a quivergroup(), which internally contains two LineStrip objects. The LineStrip objects have a CData property that appears to only accept a single color.
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!