How can I reverse the y-axis when I use the IMAGE or IMAGESC function to display an image in MATLAB?
Mostra commenti meno recenti
I execute the following commands to display an image using the IMAGESC function:
load clown
clims = [10 60];
imagesc(X,clims)
colormap(gray)
The y-axis runs from the top of the image to the bottom. I would like to reverse the y-axis so that it starts at the bottom of the image and runs to to the top.
Risposta accettata
Più risposte (1)
BHANESH BHADRECHA
il 2 Nov 2015
Modificato: madhan ravi
il 3 Feb 2019
set(gca,'YDir','normal')
Categorie
Scopri di più su Blue in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!