how to remove axis labels from IMAGESC

47 次查看(过去 30 天)
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?

采纳的回答

Image Analyst
Image Analyst 2014-2-11
Did you try
axis off;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by