Quiver on top of plot
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
As shown in the attached figure, I have two meshes with different grid sizes: a gray grid and a pink grid. Four cells of the gray greed make one cell of the pink grid. I want to plot elevation points on the gray grid, and on top (pink grid), I want to plot a quiver. Since these two grids are different sizes, I have no idea if that is suitable to do or if there's a better way to do it. But I don't know how to do it either way. So please, I would appreciate your kind help. Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/984480/image.jpeg)
0 件のコメント
回答 (1 件)
Image Analyst
2022 年 5 月 1 日
See attached demo.
I'd make the underlying grid one color, then if you want another grid on top of it with different colors, I'd create it line by line with the line() or xline() or yline() functions.
参考
カテゴリ
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!