imagesc hide one axis

9 visualizzazioni (ultimi 30 giorni)
Luca cadalo
Luca cadalo il 13 Mar 2017
Risposto: Walter Roberson il 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!

Risposta accettata

Walter Roberson
Walter Roberson il 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';

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by