to give specific colors to certain values in imagesc plots
1 回表示 (過去 30 日間)
古いコメントを表示
sir, i have a 8*24 matrix. some values are nan and some values are 0. can i set specific colors to nan and 0 values in the image plot of the matrix.
0 件のコメント
回答 (1 件)
Image Analyst
2017 年 1 月 28 日
I don't know about Nans, but for zeros, definitely yes. Check out the colormap() and caxis() functions.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Orange についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!