Changing the plot parameters for the rfplot function
이전 댓글 표시
Hello
I am trying to change the parameters of an rfplot. I have an s-parameter object S{1}. S has a series of s-parameter objects so I would independantly graph S{1}, S{2}, S{3} and so on. For each graph I would like to plot only the S11 or S21 data. I have used the following.
rfplot(S{1},2,1)
to plot the S21 which works well.
If I change the code to the following it works well.
rfplot(S{1},2,1,'r')
This allows me to change the color to red.
However I have tried to use the following code and receive an error
rfplot(S{1},2,1,'color',[1 0 0],'LineWidth',2)
Here I am attempting to create the same graph while defining a custom color and specify a line thickness.
What would the correct way to achieve this?
Thank you
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 RF Network Construction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!