小编Chr*_*tie的帖子

matlab:当“add”不是默认值时,“hold off”语句会永久更改FigureNextplot属性

我将默认的FigureNextplot属性设置为“new”,而不是工厂默认的“add”:

set(groot, 'DefaultFigureNextplot', 'new')
Run Code Online (Sandbox Code Playgroud)

使用hold onMatlab 时,应将FigureNextplot 和 AxesNextplot 属性设置为“add”。但是,当我完成图形处理时,hold off会重置 AxesNextplot 属性,但不会重置 FigureNextplot 属性。

这背后的原因是什么?有没有办法继续使用我的默认设置而不删除我的代码中的所有hold语句?

matlab matlab-figure

4
推荐指数
1
解决办法
341
查看次数

标签 统计

matlab ×1

matlab-figure ×1