Main Content

propedit

(不推荐)打开属性编辑器

    不推荐使用 propedit。请改用 inspect 来启动属性检查器。有关详细信息,请参阅兼容性考虑

    说明

    示例

    propedit 启动属性编辑器,这是图形对象属性的一个图形用户界面。如果当前没有任何图窗,propedit 会创建一个。

    当您停靠、取消停靠、调整大小或重新定位某绘图工具时,MATLAB® 会在您为后续图窗调用该工具时恢复该配置,这在 MATLAB 会话内部和会话之间都是如此。没有可将绘图工具重置为其原始配置的命令。

    propedit(fig) 在指定的图窗而非当前图窗上操作。

    示例

    全部折叠

    通过调用 propedit 函数在图窗上显示属性编辑器。该工具将以上次调用该工具时的相同配置打开。

    plot(1:10);
    propedit

    Property Editor tool below a figure window. The Property Editor tool has options to set the figure name, colormap, and figure color. A check box is labeled "Show Figure Number". Two buttons are labeled "More Properties" and "Export Setup".

    输入参数

    全部折叠

    目标图窗,指定为 Figure 对象。使用 fig 在特定图窗(而不是当前图窗)上显示属性编辑器。

    示例:propedit(f) 将在图窗 f 上显示属性编辑器绘图工具。

    提示

    如果您在 MATLAB 程序中调用 propedit 并且后续各行依赖于完全初始化的属性编辑器,请在其后使用 drawnow 来确保完全初始化。

    备选方法

    从图窗窗口的视图菜单中打开或关闭属性编辑器工具。

    版本历史记录

    在 R2006a 之前推出

    全部展开