将图形停靠在编辑器中的 matlab 命令是什么

What is the matlab command for docking the figure inside the editor

我知道可以将绘图停靠在 matlab 编辑器中,而不是在绘制函数时不断弹出 window。但是,我正在努力寻找正确的命令。

要在命令 window 中停靠 图形 ,您可以使用以下任一方法:

  • set(gcf, 'Windowstyle', 'docked') 将设置应用于 当前 图;

  • set(f, 'Windowstyle', 'docked') 将其应用于具有 handle f;

    的图形
  • figure('Windowstyle', 'docked')创建 使用此设置的图形。