Getting pretty close on Section 5
This commit is contained in:
20
julia/make_plots.jl
Normal file
20
julia/make_plots.jl
Normal file
@@ -0,0 +1,20 @@
|
||||
using Thesis
|
||||
using PlotlyJS: savefig
|
||||
|
||||
a = ∛(Sun.μ * ( year/2π )^2 )
|
||||
start = [ oe_to_xyz([ a, 0., 0., 0., 0., 0.5 ], Sun.μ); 10_000. ]
|
||||
path = Thesis.prop(zeros(100,3), start, bepi, year)[1]
|
||||
p = Thesis.plot([path],
|
||||
colors=["#0FF"],
|
||||
title="Single LaGuerre-Conway-Propagated Orbit")
|
||||
savefig(p, "LaTeX/fig/laguerre_plot.png")
|
||||
|
||||
t = 5year
|
||||
spiral_sc = Sc("test", 1000., 2000., 0.0005, 50, 0.9)
|
||||
start = [ oe_to_xyz([ 0.7a, 0.05, 0.1, 0., 0., 0.5 ], Sun.μ); 100_000. ]
|
||||
spiral_thrust = spiral(0.2, 100_000, start, spiral_sc, t)
|
||||
spiral_path = Thesis.prop(spiral_thrust, start, spiral_sc, t)[1]
|
||||
p = Thesis.plot([spiral_path],
|
||||
colors=["#0FF"],
|
||||
title="Spiral Orbit")
|
||||
savefig(p, "LaTeX/fig/spiral_plot.png")
|
||||
Reference in New Issue
Block a user