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?
axis xy
to force the y axis to go up instead of down.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Display 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