plot_3d#
- SolutionData.plot_3d(curve=None, primary_sweep='Theta', secondary_sweep='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.
- primary_sweep
str,optional Primary sweep variable. The default is
"Theta".- secondary_sweep
str,optional Secondary sweep variable. 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.FigureMatplotlib figure object.