Filter löschen
Filter löschen

How to plot data in smith chart

5 Ansichten (letzte 30 Tage)
seackone
seackone am 25 Feb. 2018
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

Antworten (1)

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

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by