# Spherical harmonics

**URL:** <https://root-forum.cern.ch/t/spherical-harmonics/17802>\
**Category:** ROOT\
**Created:** [June 24, 2014, 9:24am UTC](https://root-forum.cern.ch/t/spherical-harmonics/17802 "2014-06-24T09:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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:** [June 24, 2014, 4:10pm UTC](https://root-forum.cern.ch/t/spherical-harmonics/17802/16 "2014-06-24T16:10:27Z")

</div>

I’ve just been able to “reproduce” the (more than two years old) [https://sft.its.cern.ch/jira/browse/ROOT-4508](https://sft.its.cern.ch/jira/browse/ROOT-4508) bugs without any problems with ROOT 5.34/18 (actually “heads/v5-34-00-patches@v5-34-18-531-g9e42712”).

1. Execute the unchanged original macro from [url][Problem with logarithmic X/Y axes with TNtuple](https://root-forum.cern.ch/t/problem-with-logarithmic-x-y-axes-with-tntuple/14497/7) then try “h-\>GetNbinsX()” and/or “h-\>GetNbinsY()” -\> you will get 20, while you should have got 100.
2. Edit the original macro from [url][Problem with logarithmic X/Y axes with TNtuple](https://root-forum.cern.ch/t/problem-with-logarithmic-x-y-axes-with-tntuple/14497/7) and comment out BOTH lines “h-\>Get[XY]axis()-\>SetLimits([xy]min, [xy]max);” then execute the modified macro and you will immediately see that 3 points with X \<= 1 are missing in the canvas.

BTW. I tried this macro with the newest ROOT 6.00/01. If I enable the line “Double\_t xmin = 0.01, xmax = 50, ymin = 0.01, ymax = 50;” (just change the first “#if 0” into “#if 1”), I immediately get “\*\*\* Break \*\*\* segmentation violation”.

---

_[View the full topic](https://root-forum.cern.ch/t/spherical-harmonics/17802)._
