how to remove axis labels from IMAGESC

122 views (last 30 days)
I am creating heat map of 2d matrix using following
figure;
rand('twister',1);
X = randn(10,10);
imagesc(X);
the figure shows 0-10 on both x-axis and y-axis which are not required. How can I remove them?

Accepted Answer

Image Analyst
Image Analyst on 11 Feb 2014
Did you try
axis off;

More Answers (0)

Categories

Find more on Graphics Object Properties 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!