export_figure_lab#

MotorCAD.export_figure_lab(calculation_type, variable, file_name)#

Export an image of the Lab results graph.

Parameters:
calculation_typestr

Type of calculation. Options are "Electromagnetic", "Thermal", "Generator", "Duty Cycle", and "Calibration".

variablestr

Variable to plot on the Y axis (2D graphs) or Z axis (3D graphs). For example, "Shaft Torque".

file_namestr

Name of the image file.