MATLAB: Do smithplot on uifigure

MATLABsmithplotuifigure

Hi,
I'm trying to create smithcharts, preferably like subplot side by side, in uifigure but received error:
2019-11-22 20_43_52-X Window.png
Then I tried to do them in subplot by following an example from documentation page and it worked.
2019-11-22 20_45_41-X Window.png
However, when I changed "plot" to "smithplot", I still received the same error as before.
Is there another way around to plot smith chart on uifigure? I have to use uifigure because I use it to contain other plots and measurements too.
Thanks!

Best Answer

Hi,
I tried plotting smith charts using "smithplot” in uifigure in a function callback. This way also you can have subplots side by side.
subplot(211)
z = 0.1*50 + 1j*(0:0.1:50);
gamma = z2gamma(z);
smithplot(gamma);
subplot(212)
z = 0.1*50 + 1j*(0:0.1:50);
gamma = z2gamma(z);
smithplot(gamma);
Related Question