# How to set axis range in my code?

**URL:** <https://root-forum.cern.ch/t/how-to-set-axis-range-in-my-code/57030>\
**Category:** ROOT\
**Tags:** graphics, root\
**Created:** [November 8, 2023, 1:29pm UTC](https://root-forum.cern.ch/t/how-to-set-axis-range-in-my-code/57030 "2023-11-08T13:29:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [November 8, 2023, 2:10pm UTC](https://root-forum.cern.ch/t/how-to-set-axis-range-in-my-code/57030/3 "2023-11-08T14:10:48Z")

</div>

See also this HowTo: [How to set ranges on axis?](https://root-forum.cern.ch/t/how-to-set-ranges-on-axis/28254)

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-set-axis-range-in-my-code/57030)._
