imagesc hide one axis

8 visualizaciones (últimos 30 días)
Luca cadalo
Luca cadalo el 13 de Mzo. de 2017
Respondida: Walter Roberson el 13 de Mzo. de 2017
It is possible to display axes with imagesc but only in one direction no both axis y and x only x
thanks!

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Mzo. de 2017
If you are using R2015b or later (I think it is) then,
ax = gca;
imagesc(YourImage, 'Parent', ax);
ax.YAxis.Visible = 'off';

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by