How to show a image in axes without change its size?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Daniel Fonsêca
le 28 Mar 2019
Commenté : Daniel Fonsêca
le 1 Avr 2019
Hello,
I'm trying to show a image in axes using the imshow. But, when i did it, the axes upload and the size change. I want to know how i can show a image without resize the axes. I want the image be showed in the center of axes.
0 commentaires
Réponse acceptée
Image Analyst
le 28 Mar 2019
Try the truesize() function. Also see my zoom demo, attached.
2 commentaires
Plus de réponses (1)
Walter Roberson
le 28 Mar 2019
image() or imagesc() instead of using imshow() .
If you are using a grayscale or pseudocolor image you might need to call colormap() after image()
Voir également
Catégories
En savoir plus sur Basic Display dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!