On Wed, Nov 17, 2010 at 8:44 AM, Benjami=
n Root <ben.root@ou=
.edu> wrote:

On Wed, Nov 17= , 2010 at 5:45 AM, Matthias Plum <plum@physik.rwth-aachen.de&= gt; wrote:

Hi

I am trying to plot data on the sphere and use the hammer projection.

The data ploting works fine, but the angular grid isn't shown correctly= .

In the attached picture you can see the error(mouse pointer is on the

position 60 E 30 S). Can anyone help me on this subject? Thanks.

Matthias

Matthias,

Looking at th= e transform equation for Hammer, it looks like there might be a mistake in = the calculation.=A0 Can you include the script you used to make that figure= so I can test the fix?

Thanks,

Ben Root

Nevermind about the example script, I tested it myse= lf and verified the problem.=A0 The fix was simple.=A0 We were missing a sq= uare root for the denominator of the formula for x and y.=A0 Before I submi= t this patch, can anybody with more knowledge about the hammer projection v= erify that the equations on the wikipedia page are correct?=A0 I would like= to verify the transformation before making this change.

Ben Root

--0015174c13c693ddb0049541a093--