# Setting the Pad width, height and position?

**URL:** <https://root-forum.cern.ch/t/setting-the-pad-width-height-and-position/57193>\
**Category:** Newbie\
**Tags:** root\
**Created:** [November 21, 2023, 12:32pm UTC](https://root-forum.cern.ch/t/setting-the-pad-width-height-and-position/57193 "2023-11-21T12:32:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![utkarsh-2000](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/e47774/32.png) [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Post date:** [November 21, 2023, 12:32pm UTC](https://root-forum.cern.ch/t/setting-the-pad-width-height-and-position/57193/1 "2023-11-21T12:32:38Z")

</div>

Hello all,

```auto
 	TPad (const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=-1, Short_t bordersize=-1, Short_t bordermode=-2)

```

I am trying to set a Pad with and but facing some difficulty in interpreting xlow, ylow…parameters.  
Can someone please help in this regard as to how to understand the width, height, and position of TPads in terms of these four parameters? Or point to relevant documentation about the same ?  
Is it like width = xhigh - xlow, I think this is not true?

Thanks in advance !

---

<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 21, 2023, 1:05pm UTC](https://root-forum.cern.ch/t/setting-the-pad-width-height-and-position/57193/2 "2023-11-21T13:05:30Z")

</div>

[https://root.cern/doc/master/classTPad.html#a76f817b43002e1e9e07a317ed84ac933](https://root.cern/doc/master/classTPad.html#a76f817b43002e1e9e07a317ed84ac933)

---

<div class="post-metadata">

**Author:** ![utkarsh-2000](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/e47774/32.png) [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Post date:** [November 21, 2023, 1:17pm UTC](https://root-forum.cern.ch/t/setting-the-pad-width-height-and-position/57193/3 "2023-11-21T13:17:47Z")

</div>

Thank You
