spyx.m

Same as SPY function but with user defined axes.
2.2K 次下载
更新时间 2016/5/4

查看许可证

Syntax:
spyx(x,y,S)

This programs uses the SPY function, which is used to plot marks on the non zero matrix elements (even on NaN's), but uses the user-specified axes (x,y) instead of rows and columns indexes (check the screenshot where

S = [
5.6 9.9 1.8 9.1 8.9 0 0 7.5 6.9 0
8.5 5.4 3.6 1.0 0.7 0 0 0 0 0
3.5 7.1 0 7.5 0 0 0.8 0 4.0 8.9
4.5 NaN NaN 7.4 0.5 3.3 7.8 0 0.6 0
0.5 NaN NaN 0 0 0 0 0 7.8 0
1.8 0 1.8 0 0 0.6 0 5.3 3.4 0
6.6 0 2.1 6.0 0 3.0 1.1 7.3 6.1 0
3.3 7.6 9.1 0 NaN 0 NaN 0 7.4 0.9
0 8.2 6.8 1.3 0 5.1 0 7.8 0 0
1.2 1.0 4.7 0 0 0 0 2.9 0 NaN
];

引用格式

Carlos Adrian Vargas Aguilera (2024). spyx.m (https://www.mathworks.com/matlabcentral/fileexchange/19187-spyx-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Discrete Data Plots 的更多信息
致谢

启发作品: spy3D, imagescnan.m v2.1 (Aug 2009)

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

BSD License