Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
938d7745
Commit
938d7745
authored
Aug 11, 2016
by
Matthieu Schaller
Browse files
Better plot range in the 2D Sedov script
parent
596f2c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/SedovBlast_2D/plotSolution.py
View file @
938d7745
...
...
@@ -239,16 +239,16 @@ plot(r_s, u_s, '--', color='k', alpha=0.8, lw=1.2)
xlabel
(
"${
\\
rm{Radius}}~r$"
,
labelpad
=
0
)
ylabel
(
"${
\\
rm{Internal~Energy}}~u$"
,
labelpad
=
0
)
xlim
(
0
,
1.3
*
r_shock
)
ylim
(
0
,
120
)
ylim
(
-
2
,
22
)
# Entropy profile ---------------------------------
subplot
(
235
)
plot
(
r
,
S
,
'.'
,
color
=
'r'
,
ms
=
1.
)
plot
(
r_s
,
s_s
,
'--'
,
color
=
'k'
,
alpha
=
0.8
,
lw
=
1.2
)
xlabel
(
"${
\\
rm{Radius}}~r$"
,
labelpad
=
0
)
ylabel
(
"${
\\
rm{Entropy}}~S$"
,
labelpad
=
-
5
)
ylabel
(
"${
\\
rm{Entropy}}~S$"
,
labelpad
=
0
)
xlim
(
0
,
1.3
*
r_shock
)
ylim
(
0
,
100
0
)
ylim
(
-
5
,
5
0
)
# Information -------------------------------------
subplot
(
236
,
frameon
=
False
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment