Imshow vs mesh: Filter response flipped?

This is the same 2-D frequency response plotted using imshow and mesh. Why is the response flipped in imshow?
Using imshow:
Using mesh:

 採用された回答

Guillaume
Guillaume 2017 年 11 月 4 日

1 投票

By convention for images the origin is the top left corner and the y axis points down. You can see that clearly if you make the axis visible after displaying your image:
imshow(yourimage);
axis on

2 件のコメント

Sndn_Shr
Sndn_Shr 2017 年 11 月 4 日
Thanks for the explanation! Is there a way to move the origin? to bottom-left and center?
Guillaume
Guillaume 2017 年 11 月 4 日
axis xy
to force the y axis to go up instead of down.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDisplay Image についてさらに検索

質問済み:

2017 年 11 月 4 日

コメント済み:

2017 年 11 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by