# How to remove the box from surf1 histogram

**URL:** <https://root-forum.cern.ch/t/how-to-remove-the-box-from-surf1-histogram/54984>\
**Category:** Newbie\
**Created:** [May 22, 2023, 8:43am UTC](https://root-forum.cern.ch/t/how-to-remove-the-box-from-surf1-histogram/54984 "2023-05-22T08:43:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharey\_Als](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sharey_als/32/33413_2.png) [@Sharey\_Als](https://root-forum.cern.ch/u/Sharey_Als)\
**Post date:** [May 22, 2023, 8:43am UTC](https://root-forum.cern.ch/t/how-to-remove-the-box-from-surf1-histogram/54984/1 "2023-05-22T08:43:35Z")

</div>

Hi rooters,

I am trying to draw a histogram using surf1 option, however, I want to remove the black box around it and the grid lines. How can I do it?  
 ![histogram](https://root-forum.cern.ch/uploads/default/original/3X/e/e/eebc6b5c9c07f503dca297375fb33d2cdf955cb5.png)

---

<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:** [May 22, 2023, 8:46am UTC](https://root-forum.cern.ch/t/how-to-remove-the-box-from-surf1-histogram/54984/2 "2023-05-22T08:46:43Z")

</div>

Search for `"FB"`, `"BB"` and `"SURF2"` in: [THistPainter](https://root.cern/doc/master/classTHistPainter.html#HP01c)

---

<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:** [May 22, 2023, 11:15am UTC](https://root-forum.cern.ch/t/how-to-remove-the-box-from-surf1-histogram/54984/3 "2023-05-22T11:15:34Z")

</div>

```auto
hist->Draw("SURF1 FB BB A")

```

 ![Screenshot 2023-05-22 at 13.15.46](https://root-forum.cern.ch/uploads/default/original/3X/1/5/15ef2d153884e6f79cc17e9b19b78268a9d8c419.png)
