skrf.plotting.plot_contour

skrf.plotting.plot_contour(freq, x, y, z, min0max1, graph=True, cmap='plasma_r', title='', **kwargs)[source]

Create a contour plot.

Parameters:
  • freq – Frequency object.

  • x (array) – x points

  • y (array) – y points.

  • z (array) – z points.

  • min0max1 (int) – 0 for min, 1 for max.

  • graph (bool, optional) – plot graph if True. The default is True.

  • cmap (str, optional) – Colormap label. The default is ‘plasma_r’.

  • title (str, optional) – Figure title. The default is ‘’.

  • **kwargs (dict) – Other parameters passed to matplotlib.plot().

Returns:

  • GAMopt (:skrf.Network:) – Network

  • VALopt (float) – min or max.