Fluid Plots Class#

class rocketpy.plots.fluid_plots._FluidPlots[source]#

Class that holds plot methods for Fluid class.

Variables:

_FluidPlots.fluid (Fluid) – Fluid object that will be used for the plots.

__init__(fluid)[source]#

Initializes _MotorClass class.

Parameters:

fluid (Fluid) – Instance of the Fluid class

Return type:

None

density_function(lower=None, upper=None)[source]#

Plots the density as a function of temperature in Kelvin and Pressure in Pascal.

Parameters:
  • lower (tuple) – Lower range of the temperature and pressure interval. If None default values are used.

  • upper (tuple) – Upper range of the temperature and pressure interval. If None default values are used.

all()[source]#

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

Return type:

None