帮助中心帮助中心
重置图形对象属性
reset(h)
示例
reset(h) 将指定图形对象的所有属性重置为其默认值。没有默认值的属性不重置。
h
MATLAB® 不会重置任何图形对象的 Position 或 Units 属性。此外,如果 h 是 Figure 对象,则 MATLAB 不会重置 WindowStyle 或 PaperUnits 属性。
Position
Units
Figure
WindowStyle
PaperUnits
全部折叠
重置当前坐标区和当前图窗的属性。
reset(gca) reset(gcf)
图形对象,指定为单个对象或对象向量。
App 构建工作流不支持 reset 函数。
reset
在 R2006a 之前推出
get
set
cla
clf
gca
gcf
hold
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office