# How to plot all nuclides density of depletion material

**URL:** <https://openmc.discourse.group/t/how-to-plot-all-nuclides-density-of-depletion-material/2762>\
**Category:** User Support\
**Created:** [February 23, 2023, 8:39am UTC](https://openmc.discourse.group/t/how-to-plot-all-nuclides-density-of-depletion-material/2762 "2023-02-23T08:39:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fyh\_sinap](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fyh\_sinap](https://openmc.discourse.group/u/fyh_sinap)\
**Post date:** [February 23, 2023, 8:39am UTC](https://openmc.discourse.group/t/how-to-plot-all-nuclides-density-of-depletion-material/2762/1 "2023-02-23T08:39:24Z")

</div>

Is there any class/mathod/variable to get all nuclides of depletion materials(include fission product),then I can pass nuclides list to results.get\_atoms().

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [February 23, 2023, 12:45pm UTC](https://openmc.discourse.group/t/how-to-plot-all-nuclides-density-of-depletion-material/2762/2 "2023-02-23T12:45:37Z")

</div>

The following should work:

```plaintext
results = openmc.deplete.Results('depletion_results.h5')
nuclides = list(results[0].index_nuc.keys())

```

---

<div class="post-metadata">

**Author:** ![fyh\_sinap](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fyh\_sinap](https://openmc.discourse.group/u/fyh_sinap)\
**Post date:** [February 24, 2023, 1:58am UTC](https://openmc.discourse.group/t/how-to-plot-all-nuclides-density-of-depletion-material/2762/3 "2023-02-24T01:58:08Z")

</div>

Thank you,Paul.It’s useful
