plotting (skrf.plotting)

This module provides general plotting functions.

Plots and Charts

smith([smithR, chart_type, draw_labels, …]) plots the smith chart of a given radius
plot_smith(s[, smith_r, chart_type, …]) plot complex data on smith chart
plot_rectangular(x, y[, x_label, y_label, …]) plots rectangular data and optionally label axes.
plot_polar(theta, r[, x_label, y_label, …]) plots polar data on a polar plot and optionally label axes.
plot_complex_rectangular(z[, x_label, …]) plot complex data on the complex plane
plot_complex_polar(z[, x_label, y_label, …]) plot complex data in polar format.
plot_v_frequency(self, y, *args, **kwargs) Plot something vs this frequency
plot_it_all(self, *args, **kwargs) Plots dB, deg, smith, and complex in subplots
plot_minmax_bounds_component(self, attribute) plots mean value of the NetworkSet with +/- uncertainty bounds in an Network’s attribute.
plot_minmax_bounds_s_db(self, *args, **kwargs) Calls plot_uncertainty_bounds(attribute= 's_mag','ppf':mf.magnitude_2_db*args,**kwargs)
plot_minmax_bounds_s_db10(self, *args, **kwargs) Calls plot_uncertainty_bounds(attribute= 's_mag','ppf':mf.magnitude_2_db*args,**kwargs)
plot_minmax_bounds_s_time_db(self, *args, …) Calls plot_uncertainty_bounds(attribute= 's_mag','ppf':mf.magnitude_2_db*args,**kwargs)
plot_uncertainty_bounds_component(self, …) plots mean value of a NetworkSet with +/- uncertainty bounds in an Network’s attribute.
plot_uncertainty_bounds_s(self[, multiplier]) Plots complex uncertainty bounds plot on smith chart.
plot_uncertainty_bounds_s_db(self, *args, …) Calls plot_uncertainty_bounds(attribute='s_mag','ppf':mf.magnitude_2_db*args,**kwargs)
plot_uncertainty_bounds_s_time_db(self, …) Calls plot_uncertainty_bounds(attribute= 's_mag','ppf':mf.magnitude_2_db*args,**kwargs)
plot_passivity(self[, port, label_prefix]) Plot dB(diag(passivity metric)) vs frequency
plot_logsigma(self[, label_axis]) plots the uncertainty for the set in units of log-sigma.
plot_circuit_graph(self, **kwargs) Plot the graph of the circuit using networkx drawing capabilities.
plot_contour(freq, x, y, z, min0max1[, …]) Countour plot

Misc Functions

stylely([rc_dict, style_file]) loads the rc-params from the specified file (file must be located in skrf/data)
save_all_figs([dir, format, replace_spaces, …]) Save all open Figures to disk.
add_markers_to_lines([ax, marker_list, …]) adds markers to existing lings on a plot
legend_off([ax]) turn off the legend for a given axes.
func_on_all_figs(func, *args, **kwargs) runs a function after making all open figures current.
scrape_legend([n, ax]) scrapes a legend with redundant labels
signature(self[, m, n, component, vmax, …]) Visualization of a NetworkSet.