skrf.network.Network.plot_s_re
- Network.plot_s_re(m=None, n=None, ax=None, show_legend=True, y_label=None, logx=False, **kwargs)
plot the Network attribute
s_re
component vs frequency.- Parameters:
m (int, optional) – first index of s-parameter matrix, if None will use all
n (int, optional) – second index of the s-parameter matrix, if None will use all
ax (
matplotlib.Axes
object, optional) – An existing Axes object to plot onshow_legend (Boolean) – draw legend or not
y_label (string, optional) – the y-axis label
logx (Boolean, optional) – Enable logarithmic x-axis, default off
**kwargs (arguments, keyword arguments) – passed to
matplotlib.plot()
attribute (Literal['s', 'z', 'y', 'a', 'h', 't'])
conversion (Literal['re', 'im', 'mag', 'db', 'db10', 'rad', 'deg', 'arcl', 'rad_unwrap', 'deg_unwrap', 'arcl_unwrap', 'vswr', 'time', 'time_db', 'time_mag', 'time_impulse', 'time_step'])
Note
This function is dynamically generated upon Network initialization. This is accomplished by calling
Network.plot_attribute()
Examples
>>> myntwk.plot_s_re(m=1,n=0,color='r')