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

1 回表示 (過去 30 日間)
Thomas Geise
Thomas Geise 2020 年 9 月 4 日
回答済み: Amrtanshu Raj 2020 年 9 月 8 日
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);

製品

Community Treasure Hunt

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

Start Hunting!

Translated by