diff --git a/compare.ipynb b/compare.ipynb index 5f64273..593982c 100644 --- a/compare.ipynb +++ b/compare.ipynb @@ -166,12 +166,13 @@ }, "outputs": [], "source": [ - "# in this case we plot the silver Ag experiment spectrum but you could plot others\n", - "plt.stairs(values=flux_dict['Ag']['2000exp_5min'], edges=ebins)\n", + "# In this case we plot the silver Ag experiment spectrum but you could plot others\n", + "plt.stairs(values=flux_dict['Ag']['2000exp_5min'], edges=np.array(ebins)/1e6)\n", "plt.yscale('log')\n", - "plt.xscale('log')\n", - "plt.xlabel('Energy [eV]') #TODO check these units\n", - "plt.ylabel('Flux [n/cm$^2$/s]') #TODO check these units\n", + "plt.xlim(0, 16)\n", + "plt.xlabel('Energy [MeV]')\n", + "plt.ylabel(r'Flux [n$\\cdot$cm$^{-2}\\cdot$s$^{-1}$]')\n", + "plt.show()\n", "plt.close()" ] },