67 Plot the specified quantity. Options:
70 - "u" (internal energy)
79 elif quantity ==
"p" or quantity ==
"P":
90 title =
"Internal Energy "
95 alpha = 0.2 + 0.8 * qarr / (maxval - minval)
96 title += f
"$t=${time:.2f}"
98 fig = plt.figure(figsize=(6, 6), dpi=300)
99 ax1 = fig.add_subplot(111, projection=
"3d", aspect=
"equal")
100 ax1.set_title(title, fontsize=16)
125 ax1.view_init(elev=30, azim=45)
127 fig.colorbar(sc, shrink=0.8, aspect=40, pad=0.0)
134 fname = quantity +
"-" + f
"_{time}.png"
136 print(
"saved", fname)