plot_3d#

SolutionData.plot_3d(curve=None, x_axis='Theta', y_axis='Phi', x_label='', y_label='', title='', formula=None, size=(2000, 1000), snapshot_path=None, show=True)[source]#

Create a matplotlib 3D figure 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. The default is "Theta".

y_axisstr, optional

Y-axis sweep. The default is "Phi".

x_labelstr

Plot X label.

y_labelstr

Plot Y label.

titlestr

Plot title label.

formulastr , optional

Mathematical formula to apply to the plot curve. The default is None. Options are “abs”`, "db10", "db20", "im", "mag", "phasedeg", "phaserad", and "re".

sizetuple, optional

Image size in pixels (width, height). The default is (2000, 1000).

snapshot_pathstr, optional

Full path to image file if a snapshot is needed. The default is None.

showbool, optional

Whether if show the plot or not. Default is set to True.

Returns:
matplotlib.figure.Figure

Matplotlib figure object.