Skip to content

Commit

Permalink
plot log spectrum
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoodward-LANL committed Jan 12, 2025
1 parent be874d8 commit 85cc5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow_over_cylinder_re200/spectral_analysis_mzmd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function amp_log(lam, a, dt, method, ylim_)
println("prim instability freq = ", abs.(real(freqs))[1])
freqs1 = freqs[1:r]; a1 = a[1:r];
prim_inst_indx = 1; secd_inst_indx = 3; thrd_inst_indx = 5;
if n_ks>1
if n_ks>1spe
plt = plot([abs.(real(freqs))[prim_inst_indx], abs.(real(freqs))[prim_inst_indx]], [ylim_, (abs.(a)/max_a)[prim_inst_indx]],
lw=2, color="blue", xlims=(0, 1.3), yaxis=:log, label=L"\textrm{MZMD}(1 \leq i \leq r)")
else
Expand Down

0 comments on commit 85cc5cd

Please sign in to comment.