How to correct the alignment of quiver on a plot?

2 ビュー (過去 30 日間)
Aditya Wahi
Aditya Wahi 2017 年 7 月 7 日
編集済み: Aditya Wahi 2017 年 7 月 21 日
My quiver plot is coming out to be misaligned. Its rotated or flipped or something like that. how do i make it right?
Please help me with this problem of mine. I use R2015a version of MATLAB.

採用された回答

Chad Greene
Chad Greene 2017 年 7 月 7 日
That looks like Amery Ice Shelf appearing as tiny red arrows in the middle of the eastern Ross Sea. Comparing its shape to the true Amery ice shelf, it looks like the quiver grid has been rotated and mirrored. Tinker with combinations of rot90 and fliplr until the quiver grid is correctly positioned.
  3 件のコメント
Aditya Wahi
Aditya Wahi 2017 年 7 月 13 日
編集済み: Aditya Wahi 2017 年 7 月 13 日
Sir, is there a way to select any specific region's boundary, to analyze the data of just the points within?
I've downloaded the boundary files of Amery Ice Shelf, but its matrix size does not match that of mine, hence making it not overlap each other. What can be done about it?
Chad Greene
Chad Greene 2017 年 7 月 13 日
It's hard to know exactly what you're trying to do. For any x,y points in your dataset you can use inpolygon to determine which points are within the boundaries of Amery Ice Shelf.
There's an example of how to do it for Wilkins Ice Shelf in the antbounds_data documentation here.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by