import matplotlib.pyplot as plt import glob import numpy as np import readBC paths = ['../polytropic_80ns_T30/'] time, n, u, T, Zinj = readBC.read(paths[0] + 'bc.csv') fig, ax = plt.subplots() plt.plot(time, n / n[0], label = f"$n_i$ ($\\times {n[0] * 1e-6:.0e} \\; cm^{{-3}})$") plt.plot(time, T / T[0], label = f"$T \\; (\\times{T[0]:.1f} \\; eV)$") plt.plot(time, Zinj, label = "Injection species") plt.semilogy() plt.legend() plt.show()