3D Shperical graph

From: Dmitry Kotov <dmitriy.kotov_at_gmail.com>
Date: Fri, 27 Mar 2009 14:26:46 +0300


Dear all,

I've tried to create a 3d graph of my given data using the help from here - http://root.cern.ch/root/html/THistPainter.html#HP19

I''ll attach my macros to this letter, so you can try to examine it.

I have the two angles (let them be theta (0 - 90) and phi (0-360)) and elevation for each pair of angles.

My question is - why Bins with zero content have non-zero radius in spherical coordinates.

As you can see from my macros I fill only the half of the 180, so I want to see some kind of hedgehog, but in fact I receive the green semishpere which has non-zero radius.

And second question is why the shpere in fact looks like rugby ball in some projections, is there something I'm doing wrong?

Best regards, Dmitry.

green_semisphere.png
Received on Fri Mar 27 2009 - 12:26:52 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 27 2009 - 17:50:02 CET