rfplot linespec not working with s1p files

3 views (last 30 days)
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 Comment
Kiran Felix Robert
Kiran Felix Robert on 23 Mar 2021
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?

Sign in to comment.

Answers (0)

Categories

Find more on Line Plots 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!