How can I flip the axis when plotting with IMAGESC?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
Respuesta aceptada
MathWorks Support Team
el 29 de Jul. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 3-D Volumetric Image Processing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!