mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
commit
fe12fb1e96
1 changed files with 1 additions and 1 deletions
|
|
@ -911,7 +911,7 @@
|
|||
"print(sum(probability*np.diff(energy_bins)))\n",
|
||||
"\n",
|
||||
"# Plot source energy PDF\n",
|
||||
"plt.semilogx(energy_bins[:-1], probability*np.diff(energy_bins), linestyle='steps')\n",
|
||||
"plt.semilogx(energy_bins[:-1], probability*np.diff(energy_bins), drawstyle='steps')\n",
|
||||
"plt.xlabel('Energy (eV)')\n",
|
||||
"plt.ylabel('Probability/eV')"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue