Saving smithchart in vectorized format

3 次查看(过去 30 天)
Hello all,
I'm trying to save a smith chart plotted using smithplot command. When saving it as eps or pdf, the exported file is a regular image and not vectorized.
MATLAB version is 2020a.
How the save the plot correctly?
Best regards

采纳的回答

Harshendra Shah
Harshendra Shah 2020-8-19
Hi,
You can save plot as image or vector graphics file using 'exportgraphics' function. This function is introduced in R2020a.
Example -
data = sparameters('passive.s2p' );
s = sparameters(data,75);
smithplot(s,1,1, 'GridType','ZY')
ax = gca;
exportgraphics(ax,'splot.pdf','ContentType','vector')
You can refer to the following link for the same:
This link might also help.
Regards,
Harshendra

更多回答(0 个)

类别

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

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by