Re: Spherical harmonics in spherical coordinates

From: Marcelo Zimbres <mzimbres_at_gmail.com>
Date: Tue, 12 May 2009 12:29:46 -0300


Dear Olivier,

the options "GLSURF1" and "GLSURF1 SPH" do not draw the function on the canvas, and if i move the cursor on the canvas I get the following error message:

Error in <TGLHistPainter::DistancetoPrimitive>: Attempt to use TGLHistPainter, while the current pad (gPad) does not support gl

Thanks, Marcelo

Ps. Thank you for your hint Lorenzo.

2009/5/12 Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>

>
> 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:30:00 CEST

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