How to plot data in smith chart

5 次查看(过去 30 天)
seackone
seackone 2018-2-25
Hi, I used this example to plot my dataset in a smith chart: https://www.mathworks.com/matlabcentral/answers/310051-how-to-plot-smith-chart
My problem is that is nearly impossible to handle the figure properties. For example:
x=[0.1 0.3 0.2];
y=[0.3 0.5 0.2];
smithchart;
hold on;
scatter(x,y,'o','r','filled');
The plot shows what I want. No problem. Now, I want to configure the figure properties, plot size and position and so on.. But it seems that the "smithchart" function creates an own figure or something like that. If i try this code:
x=[0.1 0.3 0.2];
y=[0.3 0.5 0.2];
fig = figure;
set(fig,'units','normalized','outerposition',[0 0 1 1]);
set(fig,'Name', 'Test','NumberTitle', 'off');
smithchart;
hold on;
scatter(x,y,'o','r','filled');
The change of Name and Number of the figure doesn't work. I have to move the "smithchart"-command between the two figure-set commands. I know that "smithchart" is more a function than a plot command.. But anybody have an idea, how i can plot my files in a smith chart without having trouble at changing the plot properties?
Best regards

回答(1 个)

Abhishek Ballaney
Abhishek Ballaney 2018-2-27
https://in.mathworks.com/help/rf/ug/smithchart.html

类别

Help CenterFile Exchange 中查找有关 Visualization and Data Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by