# Overlaying histograms with TAttFill

**URL:** <https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437>\
**Category:** Newbie\
**Created:** [November 25, 2025, 10:09am UTC](https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437 "2025-11-25T10:09:23Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [November 25, 2025, 11:52am UTC](https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437/7 "2025-11-25T11:52:55Z")

</div>

> [@How to redraw Axis and plot borders?](https://root-forum.cern.ch/t/how-to-redraw-axis-and-plot-borders/28252):
>
> Sometimes, when several plots are drawn in the same pad using the option SAME, the axis tick marks and the plot’s border lines might be erased by the front plots. It might be useful to redraw them. The following example shows how to proceed. void redrawBorder() { gPad-\>Update(); gPad-\>RedrawAxis(); TLine l; l.DrawLine(gPad-\>GetUxmin(), gPad-\>GetUymax(), gPad-\>GetUxmax(), gPad-\>GetUymax()); l.DrawLine(gPad-\>GetUxmax(), gPad-\>GetUymin(), gPad-\>GetUxmax(), gPad-\>GetUymax()); } void…

---

_[View the full topic](https://root-forum.cern.ch/t/overlaying-histograms-with-tattfill/64437)._
