how to remove axis labels from IMAGESC

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?

1 Comment

I got it. Didn't explore Edit axes tricks before

Sign in to comment.

 Accepted Answer

Did you try
axis off;

1 Comment

Accepted answer by Madhan Ravi since the OP didn't

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!