Re: Spherical harmonics in spherical coordinates

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Tue, 12 May 2009 17:15:19 +0200

On May 12, 2009, at 4:42 PM, Marcelo Zimbres wrote:

> hi,
>
> I am trying to draw spherical harmonics, implemented as an TF2
> object, using the option "surf1 sph", but I do not get the desired
> results, even after
> reading the messages in:
>
> http://root.cern.ch/root/roottalk/roottalk09/0340.html
>
> There seems to be a problem with the "SPH" option or I have missed
> some
> points in the documentation. I would be grateful if you could point
> out a way
> to correct this problem.
>
> The macro is attached. I am running it after loading the Mathmore
> library in
> the interpreter with:
>
> gSystem->Load("libMathMore")

You can avoid doing this, by adding in your file:

#include "Math/SpecFunc.h"

  Lorenzo
>
>
> Best regards, Marcelo
>
> ps. I am sorry i posted this problem in the wrong place before.
> <report.C>
Received on Tue May 12 2009 - 17:15:28 CEST

This archive was generated by hypermail 2.2.0 : Tue May 12 2009 - 23:50:01 CEST