# Resize (shrink, smaller) the x axis of an histogram TH1

**URL:** <https://root-forum.cern.ch/t/resize-shrink-smaller-the-x-axis-of-an-histogram-th1/13538>\
**Category:** ROOT\
**Created:** [December 21, 2011, 4:11am UTC](https://root-forum.cern.ch/t/resize-shrink-smaller-the-x-axis-of-an-histogram-th1/13538 "2011-12-21T04:11:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [December 21, 2011, 9:06am UTC](https://root-forum.cern.ch/t/resize-shrink-smaller-the-x-axis-of-an-histogram-th1/13538/2 "2011-12-21T09:06:40Z")

</div>

I don’t exactly know what you mean by “resize / rebin / shrink the X axis”.  
If you want to preserve the number of X bins and just “scale” the X axis values of your histogram, see the “Can we shift histogram for several channels?” thread: [url][Can we shift histogram for several channels?](https://root-forum.cern.ch/t/can-we-shift-histogram-for-several-channels/12050/1)

---

_[View the full topic](https://root-forum.cern.ch/t/resize-shrink-smaller-the-x-axis-of-an-histogram-th1/13538)._
