Effacer les filtres
Effacer les filtres

How can I flip the axis when plotting with IMAGESC?

10 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 29 Juil 2010
For example:
load clown
imagesc(X)
colormap(map)
Instead of the y-axis increasing from top to bottom, I would like to have it decreasing from top to bottom.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 29 Juil 2010
After displaying an image with the IMAGESC function, you can change the axis so it is decreasing from top to bottom. For example,
load clown
X = flipud(X);
imagesc(X)
colormap(map)
axis('xy')

Plus de réponses (0)

Catégories

En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by