How to plot data in smith chart

조회 수: 5 (최근 30일)
seackone
seackone 2018년 2월 25일
답변: Abhishek Ballaney 2018년 2월 27일
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