# TH2 from a TH3 slice

**URL:** <https://root-forum.cern.ch/t/th2-from-a-th3-slice/54386>\
**Category:** General Chat\
**Created:** [April 6, 2023, 8:00am UTC](https://root-forum.cern.ch/t/th2-from-a-th3-slice/54386 "2023-04-06T08:00:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 6, 2023, 8:08am UTC](https://root-forum.cern.ch/t/th2-from-a-th3-slice/54386/2 "2023-04-06T08:08:18Z")

</div>

> [@Drawing dose volume histograms (DVHs)](https://root-forum.cern.ch/t/drawing-dose-volume-histograms-dvhs/44858/3):
>
> You can project a 3-d histogram into 1-d or 2-d (also profile) histograms: [TH3::Project3D](https://root.cern/doc/master/classTH3.html#a94dd0a21d42fd95756e906e7f50fa293) ; [TH3::ProjectionX](https://root.cern/doc/master/classTH3.html#a6b8fe187592c6c36f5e443535a480af6) ; [TH3::ProjectionY](https://root.cern/doc/master/classTH3.html#a38e8e5a4a25027b1f399637b70afb8bd) ; [TH3::ProjectionZ](https://root.cern/doc/master/classTH3.html#a65ed465ab42638e18ba9ee50b14fa4ad) ; [TH3::Project3DProfile](https://root.cern/doc/master/classTH3.html#a6d7a16f7b0b13019e649a03f3ee35684)

---

_[View the full topic](https://root-forum.cern.ch/t/th2-from-a-th3-slice/54386)._
