1
0
mirror of https://gitlab.com/lander-team/plots.git synced 2025-06-16 15:06:46 +00:00
Plots/TVCDef.jl
2021-09-19 20:20:39 -07:00

19 lines
488 B
Julia

using Plots
theme(:juno)
begin
plot(cosd.(0:30), label = "Vertical Thrust", legend = :topright)
plot!(sind.(0:30), label = "Horizontal Thrust")
vline!([10], label = "Pitch", line = (3, :dash))
vline!([15], label = "Roll", line = (3, :dash))
ylabel!("Percent of Thrust")
xlabel!("Thruster Deflection")
xticks!(0:5:45, string.(0:5:45) .* "°")
yticks!(0:0.25:1, string.(0:25:100) .* "%")
title!("Thrust at TVC Deflections")
end
savefig("TVCDef.png")