# Infinite error bars on log-Y plot

**URL:** <https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322>\
**Category:** Newbie\
**Created:** [October 16, 2025, 1:00pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322 "2025-10-16T13:00:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phylmath](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/phylmath/32/38400_2.png) [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Post date:** [October 16, 2025, 1:00pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322/1 "2025-10-16T13:00:57Z")

</div>

* * *

_ROOT Version:_ 6.32.04  
_Platform:_ WSL2 Ubuntu

Hello! How can I prevent ROOT from drawing infinity error bars when the errors are too big?

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/c/6/c668f88f4637f1c35f32e7e6cd98b0aba4b2401e.png)

* * *

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [October 16, 2025, 1:03pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322/2 "2025-10-16T13:03:33Z")

</div>

Let’s see what @couet suggests

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [October 16, 2025, 2:32pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322/3 "2025-10-16T14:32:51Z")

</div>

Can you provide a small piece of code reproducing this effect ?

---

<div class="post-metadata">

**Author:** ![phylmath](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/phylmath/32/38400_2.png) [@phylmath](https://root-forum.cern.ch/u/phylmath)\
**Post date:** [October 23, 2025, 3:15pm UTC](https://root-forum.cern.ch/t/infinite-error-bars-on-log-y-plot/64322/4 "2025-10-23T15:15:12Z")

</div>

Hello. It seems the issue occurs only on log plots when the lower error is smaller than the y-value itself. Solved by either truncating error values to a threshold or plotting on a regular non-log plot. Thanks for the replies 🙂
