general_steel_plotter
structural_sections.steel.profile_definitions.plotters.general_steel_plotter
Defines a general steel plotter for profiles and its characteristics.
structural_sections.steel.profile_definitions.plotters.general_steel_plotter.plot_shapes
plot_shapes(
profile: Profile,
figsize: tuple[float, float] = (15.0, 8.0),
title: str = "",
font_size_title: float = 18.0,
font_size_legend: float = 10.0,
show: bool = False,
include_moment_of_inertia: bool = False,
) -> Figure
Plot the given shapes.
Parameters:
-
profile(Profile) –The profile to plot.
-
figsize(tuple[float, float], default:(15.0, 8.0)) –The size of the figure in inches. Default is (15.0, 8.0).
-
title(str, default:'') –The title of the plot. Default is "".
-
font_size_title(float, default:18.0) –The font size of the title. Default is 18.0.
-
font_size_legend(float, default:10.0) –The font size of the legend. Default is 10.0.
-
show(bool, default:False) –Whether to show the plot. Default is False.
-
include_moment_of_inertia(bool, default:False) –Whether to include the moment of inertia in the legend. Default is False.
Source code in blueprints/structural_sections/steel/profile_definitions/plotters/general_steel_plotter.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |