reverse Y axis with Imagesc()
Mostra commenti meno recenti
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');
Risposte (1)
Ameer Hamza
il 2 Ott 2020
Set to reverse
set(gca, 'YDir','reverse');
3 Commenti
Turbulence Analysis
il 2 Ott 2020
Turbulence Analysis
il 2 Ott 2020
Ameer Hamza
il 2 Ott 2020
Ah!! Y-axis is already reversed in imagesc. I think you wanted to flip x-axis?
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!