plot_2d_cut#
- FfdSolutionData.plot_2d_cut(qty_str='RealizedGain', primary_sweep='phi', secondary_sweep_value=0, phi_scan=0, theta_scan=0, title='Far Field Cut', convert_to_db=True, export_image_path=None)[source]#
Create a 2D plot of specified quantity in matplotlib.
- Parameters:
- qty_str
str
,optional
Quantity to plot. Default “RealizedGain”.
- primary_sweep
str
, optional. X Axis variable. Default is “phi”. Option is “theta”.
- secondary_sweep_value
float
,list
,str
,optional
List of cuts on secondary sweep to plot. Options are “all”, single value float or list of float.
- phi_scan
float
,int
,optional
Phi Scan Angle in degree. Default 0.
- theta_scan
float
,int
,optional
Theta Scan Angle in degree. Default 0.
- title
str
,optional
Plot title. Default “RectangularPlot”.
- convert_to_dbbool,
optional
Either if the quantity has to be converted in db or not. Default is True.
- export_image_path
str
,optional
Full path to image file. Default is None to not export.
- qty_str
- Returns:
matplotlib.plt
Matplotlib fig object.