imagesc hide one axis

8 views (last 30 days)
Luca cadalo
Luca cadalo on 13 Mar 2017
Answered: Walter Roberson on 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!

Accepted Answer

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

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!