diff --git a/examples/plots.jl b/examples/plots.jl index ecc11ec9..a2188b56 100644 --- a/examples/plots.jl +++ b/examples/plots.jl @@ -201,9 +201,17 @@ function plot_aerodynamics(plot_lift_drag = false) sl = log.syslog if plot_lift_drag - display(plotx(sl.time, sl.var_08, sl.var_13, sl.var_14, sl.var_15, sl.var_16; - ylabels=["LoD [-]", L"\alpha_2~[°]", "Lift [N]", "Drag [N]"], - fig="aerodynamics")) + display(plotx(sl.time, sl.var_08, sl.var_13, sl.var_15, sl.var_16; + ylabels=["LoD [-]", L"\alpha_2~[°]", "Lift [N]", "Drag [N]"], + fig="aerodynamics")) + display(plotxy(sl.var_13[2:end], sl.var_15[2:end]; + xlabel="AoA [°]", + ylabel="Lift [N]", + fig="Lift as function of AoA")) + display(plotxy(sl.var_13[2:end], sl.var_16[2:end]; + xlabel="AoA [°]", + ylabel="Drag [N]", + fig="Drag as function of AoA")) else display(plotx(sl.time, sl.var_08, sl.var_13, sl.var_14, sl.var_15, sl.var_16; ylabels=["LoD [-]", L"\alpha_2~[°]", L"\alpha_{3b}~[°]", L"\alpha_{4b}~[°]"],