How can I flip the axis when plotting with IMAGESC?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
Risposta accettata
MathWorks Support Team
il 29 Lug 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')
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!