Skip to content

Commit

Permalink
clip q profile plot between 0 and 5
Browse files Browse the repository at this point in the history
  • Loading branch information
orso82 committed Jan 31, 2025
1 parent 9d487df commit a70e54b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,11 @@ end
ylabel := ""
normalization := 1.0
title := latex_support() ? L"q" : "q"
if eqt.profiles_1d.q[end] > 0.0
ylim := (0.0, 5)
else
ylim := (-5.0, 0.0)
end
eqt.profiles_1d, :q
end
end
Expand Down

0 comments on commit a70e54b

Please sign in to comment.