save plots for flux-diagnosis instead of interactive mode
save plots for flux-diagnosis instead of interactive mode