How can I reverse the y-axis when I use the IMAGE or IMAGESC function to display an image in MATLAB?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
BHANESH BHADRECHA
le 2 Nov 2015
Modifié(e) : madhan ravi
le 3 Fév 2019
set(gca,'YDir','normal')
Catégories
En savoir plus sur Blue dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!