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 件のコメント

xplore29
xplore29 2014 年 2 月 10 日
I got it. Didn't explore Edit axes tricks before

サインインしてコメントする。

 採用された回答

Image Analyst
Image Analyst 2014 年 2 月 11 日

2 投票

Did you try
axis off;

1 件のコメント

madhan ravi
madhan ravi 2018 年 10 月 28 日
Accepted answer by Madhan Ravi since the OP didn't

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2014 年 2 月 10 日

コメント済み:

2018 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by