imslice

Selects and plots a cdata slice
1.6K 次下载
更新时间 2006/11/1

查看许可证

This function can be applied on any figure containing a graphical object having a 'cdata' property.

When the mouse is clicked on the object, a vertical (left button) or horizontal (right button) line marker appears over the object, and a new figure is opened, containing a plot of the selected slice. Closing this figure removes the marker.

Usage example:
>> figure; imagesc(randn(100));
>> colormap hot; imslice;

引用格式

Francois Bouffard (2024). imslice (https://www.mathworks.com/matlabcentral/fileexchange/11845-imslice), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

Fixed problem with slice markers not disappearing if user clicked too fast. General code cleanup. Clearer information in the slice figure. Previous/next slice feature using left/right click or arrow keypress in slice figure.