(zwin_arr, maxF_arr)
| 263 | |
| 264 | |
| 265 | def 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 |