# Remove box border in 2d histograms

**URL:** <https://root-forum.cern.ch/t/remove-box-border-in-2d-histograms/62349>\
**Category:** Newbie\
**Tags:** graphics, hist, root\
**Created:** [November 29, 2024, 10:16am UTC](https://root-forum.cern.ch/t/remove-box-border-in-2d-histograms/62349 "2024-11-29T10:16:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![homura](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@homura](https://root-forum.cern.ch/u/homura)\
**Post date:** [November 29, 2024, 10:16am UTC](https://root-forum.cern.ch/t/remove-box-border-in-2d-histograms/62349/1 "2024-11-29T10:16:19Z")

</div>

Hello,  
I have this 2D correlation plot shown below, and I would like to remove the box surrounding the plot as well as the grid on the z-axis so that I have the axes but not the 3d box. I have looked around in root but I have not found any way to edit this.  
[corrStar\_realistic\_100k\_firstrange.pdf](https://root-forum.cern.ch/uploads/short-url/b913KC8Pn4V0m1Jxoy50IATawve.pdf) (158.6 KB)

\_

\_\_  
_ROOT Version:_ Not Provided  
_Platform:_ Not Provided  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 29, 2024, 11:58am UTC](https://root-forum.cern.ch/t/remove-box-border-in-2d-histograms/62349/2 "2024-11-29T11:58:36Z")

</div>

Hi and welcome on the forum,

You can add “fb bb” draw option to your object drawing.  
Like `fit->Draw("surf1 fb bb")`.  
It is special options for lego plots, used here for axis displays.  
See:

[https://root.cern/doc/master/classTHistPainter.html#HP01c](https://root.cern/doc/master/classTHistPainter.html#HP01c)

Regards,  
Sergey
