plot_3d#

SolutionData.plot_3d(curve=None, x_axis='Theta', y_axis='Phi', xlabel='', ylabel='', title='', math_formula=None, size=(2000, 1000), snapshot_path=None)[source]#

Create a matplotlib 3d plot based on a list of data.

Parameters:
curvestr

Curve to be plotted. If None, the first curve will be plotted.

x_axisstr, optional

X Axis sweep. Default is “Theta”.

y_axisstr, optional

Y Axis sweep. Default is “Phi”.

math_formulastr , optional

Mathematical formula to apply to the plot curve. Valid values are “re”, “im”, “db20”, “db10”, “abs”, “mag”, “phasedeg”, “phaserad”.

sizetuple, optional

Image size in pixel (width, height).

snapshot_pathstr

Full path to image file if a snapshot is needed.

is_polarbool, optional

Set to True if this is a polar plot.

Returns:
matplotlib.plt

Matplotlib fig object.