RF-Toolbox : How to show a smithplot not as figure but as AXES-Object? (app-Designer)

1 次查看(过去 30 天)
There is no good help for the use of smithplot(ax,...) .
I put an AXES-Object in the GUI. How to bind this Axes to the Smithplot? I don't want to have the Smithplot in a separate figure.

回答(1 个)

Amrtanshu Raj
Amrtanshu Raj 2020-9-8
Hi,
Current AppDesigner UIAxes does not support the Smithplot function.
You can use axes in place of UIAxes to get the desired result.
Insert the following code in the function used to create the smithPlot
app.UIFigure.AutoResizeChildren = 'off';
a = axes(app.UIFigure);
smithplot(a,freq,data);

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by