Rocket Plots Class#

class rocketpy.plots.rocket_plots._RocketPlots[source]#

Class that holds plot methods for Rocket class.

Variables:

_RocketPlots.rocket (Rocket) – Rocket object that will be used for the plots.

__init__(rocket)[source]#

Initializes _RocketPlots class.

Parameters:

rocket (Rocket) – Instance of the Rocket class

Return type:

None

total_mass()[source]#

Plots total mass of the rocket as a function of time.

Return type:

None

reduced_mass()[source]#

Plots reduced mass of the rocket as a function of time.

Return type:

None

static_margin()[source]#

Plots static margin of the rocket as a function of time.

Return type:

None

power_on_drag()[source]#

Plots power on drag of the rocket as a function of time.

Return type:

None

power_off_drag()[source]#

Plots power off drag of the rocket as a function of time.

Return type:

None

thrust_to_weight()[source]#
Plots the motor thrust force divided by rocket

weight as a function of time.

Return type:

None

all()[source]#

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

Return type:

None