thegooglecodearchive / healpy

Automatically exported from code.google.com/p/healpy
GNU General Public License v2.0
0 stars 0 forks source link

Problem with gnomview when #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a sky map, somehow
2. Plot it with some rotation in gnomview
3. Alter the xsize, ysize gnomview parameters to take different values, and
plot again.  

What is the expected output? What do you see instead?

Expect that both plots would be centered on the same position, but the
latter will be offset.  This only happens when xsize!=ysize.
Also, the xsize and ysize arguments seem to be inverted.

What version of the product are you using? On what operating system?
healpy: Subversion r99
OS: Mac OS 10.5.8
python: 2.6
matplotlib: 0.99

Please provide any additional information below.
See attached figures for example.
Generated using

healpy.gnomview(full_map,rot=r,reso=5.5,xsize=300,ysize=400,min=-3.5,max=3.5)
#fig1.png

healpy.gnomview(full_map,rot=r,reso=5.5,xsize=400,ysize=300,min=-3.5,max=3.5)
 #fig2.png

Original issue reported on code.google.com by JoeZu...@googlemail.com on 19 Oct 2009 at 4:02

Attachments:

GoogleCodeExporter commented 9 years ago
That's right... Don't know where is exactly the problem. For the moment, you 
should keep xsize = ysize...

Original comment by cyrille....@gmail.com on 1 Mar 2011 at 5:57