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

1 view (last 30 days)
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.

Answers (1)

Amrtanshu Raj
Amrtanshu Raj on 8 Sep 2020
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);

Products

Community Treasure Hunt

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

Start Hunting!