Add arrows to a graph
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
Can anyone please tell how can I add arrows to a graph like the attached image
0 件のコメント
回答 (2 件)
Joseph Cheng
2014 年 4 月 7 日
so to get the image without the arrows i am going to assume you have the [x,y,u,v] that will be used in quiver. as you have x,y,u, and v coordinates you can calculate the magnitude of the vector for each x,y position using u and v. then use imagesc(x,y,m) where m is the magnitude of each vector.
1 件のコメント
Joseph Cheng
2014 年 4 月 7 日
The link above should contain all the information you need about annotating graphs in matlab.
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!