reverse Y axis with Imagesc()
이전 댓글 표시
Hi,
How to reverse the Y axis while displaying images with imagesc () function.. I have tried as follows, it does the job, however, reverses the image as well.
ax = gca;
imagesc(x,y,I');
set(gca, 'YDir','normal');
답변 (1개)
Ameer Hamza
2020년 10월 2일
Set to reverse
set(gca, 'YDir','reverse');
댓글 수: 3
Turbulence Analysis
2020년 10월 2일
Turbulence Analysis
2020년 10월 2일
Ameer Hamza
2020년 10월 2일
Ah!! Y-axis is already reversed in imagesc. I think you wanted to flip x-axis?
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!