imagesc hide one axis

17 vues (au cours des 30 derniers jours)
Luca cadalo
Luca cadalo le 13 Mar 2017
It is possible to display axes with imagesc but only in one direction no both axis y and x only x
thanks!

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by