How to plot data in smith chart
7 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
See Also
Categories
Find more on Visualization and Data Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!