This function provides a quick and easy way to use imagesc where NaN pixels are transparent. I've also written it to change axes to normal xy axes if x and y coordinates are given. And you can enter x and y coordinates as 2D grids (just like pcolor lets you do). Otherwise it behaves exactly like imagesc.
引用格式
Chad Greene (2024). imagescn (https://www.mathworks.com/matlabcentral/fileexchange/61293-imagescn), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
在 Help Center 和 MATLAB Answers 中查找有关 NaNs 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!