DataMatrix

版本 1.0.0.0 (8.3 KB) 作者: Yair Altman
Display a color-coded image of a data matrix with programmable data-tips & click callbacks
4.2K 次下载
更新时间 2007/8/30

无许可证

DATAMATRIX(data) accepts a numeric or logical data matrix (0, 1 or 2D) and presents it in a color-coded image. Complex data is supported by color-coding the data's complex modulus (magnitude). NaN elements are assigned a specific shade of gray to distinguish them.

The user can specify optional labels, as well as data-tips and/or click callbacks for any or all matrix cells. These optional parameters can be specified either directly, or via order-indifferent case-insensitive property-value pairs, or a combination of both.

Supported properties include: x/y title, x/y labels & rotation (orientation), cell data-tips, cell callbacks, min/max data clamping, reference color (see extensive help within).

Users may use this submission either as-is, or as a learning tool to study data-tip & click callback customizations (including some undocumented version-related quirks/hacks).

Warning:
This code relies in part on undocumented and unsupported Matlab functionality. It works on Matlab 6+, but use at your own risk! Some features (e.g., data-tips) are unavailable on very old Matlab versions.

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

引用格式

Yair Altman (2024). DataMatrix (https://www.mathworks.com/matlabcentral/fileexchange/16181-datamatrix), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Descriptive Statistics and Visualization 的更多信息

Community Treasure Hunt

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

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