rfplot linespec not working with s1p files

3 次查看(过去 30 天)
rfplot linespec not working with s1p files.
I am trying to change the line width of the files and only saved my data as individual s1p files. When I use rfplot on s1p files it works fine until I want to change the formatting of the graph. Any ideas?
  1 个评论
Kiran Felix Robert
Kiran Felix Robert 2021-3-23
I am not able to reproduce your issue. I used the following as data,
The s1p file
! symbol freq-unit parameter-type data-format keyword impedance-ohms
# MHZ S MA R 50
! freq magS11 angS11 (commented header line)
4.000 0.892 -12.135
5.000 0.891 -18.179
6.000 0.890 -24.193
The MATLAB Script,
hs = sparameters('s1pfile.s1p');
l = rfplot(hs)
l.LineWidth = 5;
Do you face any error while plot ? If yes, can you post the complete error?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by