Take & Restore hold

Hold axes temporarily, optionally respecting the previous hold state.
1.2K 次下载
更新时间 2012/5/10

查看许可证

This is a pair of functions to manipulate the hold state of an axes object.

The first one holds the axes for adding multiple new graphics objects. It can optionally clear them first, if the previous hold state was off.

This is useful when a function either:

1) adds graphics without erasing anything, ignoring the existing hold state, or

2) behaves like plot, but needs to temporarily add multiple objects to the plot.

The second function restores the axes object to its previous hold state.

引用格式

Ioannis Filippidis (2024). Take & Restore hold (https://www.mathworks.com/matlabcentral/fileexchange/36641-take-restore-hold), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

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