帮助中心帮助中心
showplottool
(不推荐)显示或隐藏指定的绘图工具
不推荐使用 showplottool。请改用 inspect 来启动属性检查器。有关详细信息,请参阅兼容性考虑。
inspect
showplottool(tool)
showplottool(state,tool)
showplottool(fig,___)
示例
showplottool(tool) 在当前图窗上显示指定的绘图工具。如果当前没有任何图窗,showplottool 会创建一个。
tool
当您停靠、取消停靠、调整大小或重新定位某绘图工具时,MATLAB® 会在您为后续图窗调用该工具时恢复该配置,这在 MATLAB 会话内部和会话之间都是如此。没有可将绘图工具重置为其原始配置的命令。
showplottool(state,tool) 会更改当前图窗上指定绘图工具的状态。例如,showplottool("on","plotbrowser") 会显示绘图浏览器。
state
showplottool("on","plotbrowser")
showplottool(fig,___) 在指定的图窗而非当前图窗上操作。输入 fig 可以位于上述语法中的任何输入参数组合之前。
fig
全部折叠
通过调用 showplottool 函数在图窗上显示属性编辑器。该工具将以上次调用该工具时的相同配置打开。
plot(1:10); showplottool("propertyeditor")
"figurepalette"
"plotbrowser"
"propertyeditor"
所选绘图工具,指定为以下值之一:
"figurepalette" - 作用于图窗选项板。
"plotbrowser" - 作用于绘图浏览器。
"propertyeditor" - 作用于属性编辑器。
示例:showplottool("toggle","figurepalette") 切换当前图窗中图窗选项板的状态。
showplottool("toggle","figurepalette")
"on"
"off"
"toggle"
绘图工具状态,指定为下列值之一:
"on" - 显示绘图工具。
"off" - 隐藏绘图工具。
"toggle" - 在 "on" 和 "off" 状态之间切换绘图工具状态。
示例:showplottool("on","propertyeditor") 在当前图窗上显示属性编辑器绘图工具。
showplottool("on","propertyeditor")
Figure
目标图窗,指定为 Figure 对象。使用 fig 在特定图窗(而不是当前图窗)上显示或隐藏绘图工具。
示例:showplottool(f,"figurepalette") 在图窗 f 上显示图窗选项板绘图工具。
showplottool(f,"figurepalette")
f
从图窗窗口的视图菜单中选择图窗选项板、绘图浏览器和属性编辑器选项。
全部展开
showplottool 的行为在以后的版本中会有所变化。
在以后的版本中,用于打开 figurepalette 工具的语法将启动绘图编辑模式。
figurepalette
在以后的版本中,用于打开 propertyeditor 工具的语法将打开属性检查器并启动绘图编辑模式。
propertyeditor
在以后的版本中,用于打开 plotbrowser 工具的语法将在属性检查器中展开对象浏览器并启动绘图编辑模式。
plotbrowser
或者,通过使用 inspect 启动 属性检查器,以交互方式修改图形对象属性。
plottools | figurepalette | plotbrowser | propertyeditor
plottools
您点击的链接对应于以下 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