Fins Plots Class#

class rocketpy.plots.aero_surface_plots._FinsPlots[source]#

Abstract class that contains all fin plots. This class inherits from the _AeroSurfacePlots class.

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

Plots the airfoil information when the fin has an airfoil shape. If the fin does not have an airfoil shape, this method does nothing.

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.

Return type:

None

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

Plots the roll parameters of the fin set.

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.

Return type:

None

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

Plots the lift coefficient of the aero surface as a function of Mach and the angle of attack. A 3D plot is expected. See the rocketpy.Function class for more information on how this plot is made. Also, this method plots the lift coefficient considering a single fin and the lift coefficient considering all fins.

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.

Return type:

None

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

Plots all available fin plots.

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.

Return type:

None