# Background fit (red line) is not shown on my graph

**URL:** <https://root-forum.cern.ch/t/background-fit-red-line-is-not-shown-on-my-graph/38502>\
**Category:** Newbie\
**Tags:** hist\
**Created:** [March 20, 2020, 12:49pm UTC](https://root-forum.cern.ch/t/background-fit-red-line-is-not-shown-on-my-graph/38502 "2020-03-20T12:49:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertfroast](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/robertfroast/32/21121_2.png) [@robertfroast](https://root-forum.cern.ch/u/robertfroast)\
**Post date:** [March 20, 2020, 12:49pm UTC](https://root-forum.cern.ch/t/background-fit-red-line-is-not-shown-on-my-graph/38502/1 "2020-03-20T12:49:11Z")

</div>

Just uploaded the text file and code. Background fit is not shown.  
If i have made some mistake then please look at it and correct me.

[eu\_gu\_1.txt](https://root-forum.cern.ch/uploads/short-url/kn9woacPX2mqQI0v5OngH2uYeGm.C) (44.1 KB) [fithisto.C](https://root-forum.cern.ch/uploads/short-url/eH87MusWrXdlEJJlzQQSd4QaYNQ.C) (3.6 KB)

Have a nice day!!!

\_ROOT Version:\_6.14  
_Platform:_ Ubuntu  
_Compiler:_ Not Provided

* * *

---

<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:** [March 20, 2020, 12:50pm UTC](https://root-forum.cern.ch/t/background-fit-red-line-is-not-shown-on-my-graph/38502/2 "2020-03-20T12:50:26Z")

</div>

Please stop multiple post you posted that already:

> [@How can I retrieve the background data from spectrum](https://root-forum.cern.ch/t/how-can-i-retrieve-the-background-data-from-spectrum/38437/15):
>
> OK @couet Using the links that you have mentioned above. I have run a auxiliary file i.e. [cleanback.C](https://root-forum.cern.ch/uploads/short-url/1zs5QenySma9QZJogOX148zf3U3.C) (410 Bytes) [eu\_gu\_1.C](https://root-forum.cern.ch/uploads/short-url/kn9woacPX2mqQI0v5OngH2uYeGm.C) (44.1 KB) Please look at it once.

we will look at it
