Re: [Matplotlib-users] matplotlib/basemap plot geo data on background map

2010-09-10 Thread Jan Skowron
Hi, documentation of mpl_toolkits.basemap.warpimage (http://matplotlib.sourceforge.net/basemap/doc/html/api/basemap_api.html#mpl_toolkits.basemap.Basemap.warpimage) states that it could only be used with a very specific set of images: "Specified image must have pixels covering the whole globe in a

Re: [Matplotlib-users] matplotlib/basemap plot geo data on background map

2010-09-10 Thread Jan Skowron
On Fri, Sep 10, 2010 at 14:46, izzybitsie wrote: > I did not understand the need for me to write my own transformation > functions. I only used lat/lon->x/y for the points in the curve and the > polygon shows up OK. What should I write my own transformations for? Because matplotlib (and possibly

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-14 Thread Jan Skowron
Hi, apropos this offset discussion. matplotlib makes offsets not aligned to the full tens or some other easy number with small amount of non-zero digits in front? For example having ticks: 4917, 4918, 4919, 4920, 4921, 4922 it will now display: 1, 2, 3, 4, 5, 6 with offset 4916 (of even +4.916