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:
- curve
str
Curve to be plotted. If None, the first curve will be plotted.
- x_axis
str
,optional
X Axis sweep. Default is “Theta”.
- y_axis
str
,optional
Y Axis sweep. Default is “Phi”.
- math_formula
str
,optional
Mathematical formula to apply to the plot curve. Valid values are “re”, “im”, “db20”, “db10”, “abs”, “mag”, “phasedeg”, “phaserad”.
- size
tuple
,optional
Image size in pixel (width, height).
- snapshot_path
str
Full path to image file if a snapshot is needed.
- is_polarbool,
optional
Set to True if this is a polar plot.
- curve
- Returns:
matplotlib.plt
Matplotlib fig object.