plot_3d#
- SolutionData.plot_3d(curve=None, x_axis='Theta', y_axis='Phi', x_label='', y_label='', title='', formula=None, size=(1920, 1440), snapshot_path=None, show=True)#
Create a matplotlib 3D figure 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. The default is
"Theta"
.- y_axis
str
,optional
Y-axis sweep. The default is
"Phi"
.- x_label
str
Plot X label.
- y_label
str
Plot Y label.
- title
str
Plot title label.
- formula
str
,optional
Mathematical formula to apply to the plot curve. The default is
None
. Options are “abs”`,"db10"
,"db20"
,"im"
,"mag"
,"phasedeg"
,"phaserad"
, and"re"
.- size
tuple
,optional
Image size in pixels (width, height). The default is
(2000, 1000)
.- snapshot_path
str
,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.
- curve
- Returns:
matplotlib.figure.Figure
Matplotlib figure object.