# Secondary axis

**URL:** <https://root-forum.cern.ch/t/secondary-axis/53775>\
**Category:** Newbie\
**Created:** [February 25, 2023, 2:59pm UTC](https://root-forum.cern.ch/t/secondary-axis/53775 "2023-02-25T14:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basharat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/basharat/32/32608_2.png) [@Basharat](https://root-forum.cern.ch/u/Basharat)\
**Post date:** [February 25, 2023, 2:59pm UTC](https://root-forum.cern.ch/t/secondary-axis/53775/1 "2023-02-25T14:59:35Z")

</div>

How to plot a second y-axis on the right? Or a secondary x-axis? I can do it in matplotlib, but I don’t see any straightforward option in ROOT. Please help.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [February 25, 2023, 3:01pm UTC](https://root-forum.cern.ch/t/secondary-axis/53775/2 "2023-02-25T15:01:46Z")

</div>

[TGaxis](https://root.cern/doc/master/classTGaxis.html)

---

<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:** [February 25, 2023, 4:14pm UTC](https://root-forum.cern.ch/t/secondary-axis/53775/3 "2023-02-25T16:14:49Z")

</div>

[https://root.cern/doc/v626/transpad\_8C.html](https://root.cern/doc/v626/transpad_8C.html)

Also drawing options X+ and Y+
