MATLAB: How to remove axis labels from IMAGESC

imagescplotting

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?

Best Answer

Did you try
axis off;