LiquidMotor Plots Class#

class rocketpy.plots.liquid_motor_plots._LiquidMotorPlots[source]#

Class that holds plot methods for LiquidMotor class.

Variables:

_LiquidMotorPlots.liquid_motor (LiquidMotor) – LiquidMotor object that will be used for the plots.

draw(*, filename=None)[source]#

Draw a representation of the LiquidMotor.

Parameters:

filename (str | None, optional) – The path the plot should be saved to. By default None, in which case the plot will be shown instead of saved. Supported file endings are: eps, jpg, jpeg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff and webp (these are the formats supported by matplotlib).

Return type:

None

all()[source]#

Prints out all graphs available about the LiquidMotor. It simply calls all the other plotter methods in this class.

Return type:

None