# Plottiing a percentage in Y-axis instead of count

**URL:** <https://root-forum.cern.ch/t/plottiing-a-percentage-in-y-axis-instead-of-count/49158>\
**Category:** Newbie\
**Tags:** hist\
**Created:** [March 13, 2022, 5:49pm UTC](https://root-forum.cern.ch/t/plottiing-a-percentage-in-y-axis-instead-of-count/49158 "2022-03-13T17:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 14, 2022, 4:59pm UTC](https://root-forum.cern.ch/t/plottiing-a-percentage-in-y-axis-instead-of-count/49158/5 "2022-03-14T16:59:01Z")

</div>

At least: `Double_t(count) * 100. / Double_t(nEntries)`

---

_[View the full topic](https://root-forum.cern.ch/t/plottiing-a-percentage-in-y-axis-instead-of-count/49158)._
