如何设置没有轴属性的绘图函数的轴?

问题描述 投票:0回答:0

我想用 MATLAB 绘制等高线图。 API,

contourm(___)
没有设置轴属性。这就是为什么当我绘制等高线图时,会出现新图形。但是,我创建了一个 appdesigner GUI,绘图应该在 GUI 上。如何将
contourm(___)
API 的轴设置为 UIAxes?

我试过

set(gcf, "CurrentAxes", app.UIAxes)
,但是没用。

matlab plot matlab-figure contour
© www.soinside.com 2019 - 2024. All rights reserved.