MATLAB Answers

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

1 view (last 30 days)
Thomas Geise
Thomas Geise on 4 Sep 2020
Answered: Amrtanshu Raj on 8 Sep 2020
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.

  0 Comments

Sign in to comment.

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);

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!