MCPcopy Create free account
hub / github.com/BLAST-WarpX/warpx / plot_evolved_quantity

Function plot_evolved_quantity

Tools/PostProcessing/plot_parallel.py:265–274  ·  view source on GitHub ↗
(zwin_arr, maxF_arr)

Source from the content-addressed store, hash-verified

263
264
265def plot_evolved_quantity(zwin_arr, maxF_arr):
266 plt.figure()
267 plt.plot(zwin_arr, maxF_arr)
268 plt.xlabel("z (m)")
269 plt.ylabel("%s (S.I.)" % plot_evolution)
270 plt.title("Field max evolution")
271 plt.savefig(
272 os.path.join(image_dir, "max_%s_evolution.pdf" % plot_evolution),
273 bbox_inches="tight",
274 )
275
276
277# Compute the evolved particle quantity from plotfile filename

Callers 1

plot_parallel.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected