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 commentaire

xplore29
xplore29 le 10 Fév 2014
I got it. Didn't explore Edit axes tricks before

Connectez-vous pour commenter.

 Réponse acceptée

Image Analyst
Image Analyst le 11 Fév 2014
Did you try
axis off;

1 commentaire

madhan ravi
madhan ravi le 28 Oct 2018
Accepted answer by Madhan Ravi since the OP didn't

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by