Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Claude Falbriard
Phone: 55-13-99662-5703 | Mobile: 55-13-98117-3316 E-mail: clau...@br.ibm.com From: Benjamin Root To: Claude Falbriard/Brazil/IBM@IBMBR Cc: Matplotlib Users Date: 03/03/2016 11:44 Subject:Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Bac

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
AGG is used for image handling, particularly for handling transforms, scaling, interpolation and such. The AxesImage object that you get from calling imshow() is handled through the AGG library. This is true regardless of the backend being used because it is based in the AxesImage class (and others

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Jerzy Karczmarczuk
Le 03/03/2016 15:43, Benjamin Root a écrit : > Matplotlib will not work at all without AGG. Even the AGG-less > backends still use AGG for image handling (imshow() and such). Is it so? I never found such strong statement in the docs. 1. SVG backend produces vector graphics, no rasterisation in p

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
Matplotlib will not work at all without AGG. Even the AGG-less backends still use AGG for image handling (imshow() and such). We can not guarantee that matplotlib would work with agg 2.5, as that is the GPL'ed version. We develop against a patched 2.4 branch of AGG (which is BSD-licensed), which i

[Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Claude Falbriard
Dear colleagues, I like to receive an advice about the best back-end choice for Matplotlib & Basemap to generate large .png images in a background processing mode. Having issues with the pre-compiled "Agg" package which does not work under my machine architecture. Also not able to recompile th

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Jody Klymak
Hi, If your flow is actually non-divergent, so that continuous streamlines make sense, you could contour the streamfunction: a decent approximation should be psi = 0.5*( cumsum(u*dy[:,newaxis],axis=1)-cumsum(v*dx[newaxis,:],axis=0)) Of course this won’t work so well if u and v are coarsely space

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Tony Yu
On Mon, Mar 30, 2015 at 2:15 PM, Foehn wrote: > Am 2015-03-27 um 15:01 schrieb Sappy85: > > Hi all, > > > > tried to plot a streamline with matplotlib. So far it work's. > > But my question: Is there a possibility to avoid the gaps in the > streamlines > > (see my picture)? > I think the problem

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Foehn
Am 2015-03-27 um 15:01 schrieb Sappy85: > Hi all, > > tried to plot a streamline with matplotlib. So far it work's. > But my question: Is there a possibility to avoid the gaps in the streamlines > (see my picture)? > > Are you sure

[Matplotlib-users] matplotlib basemap streamlines plot

2015-03-27 Thread Sappy85
Hi all, tried to plot a streamline with matplotlib. So far it work's. But my question: Is there a possibility to avoid the gaps in the streamlines (see my picture)? Regards Sappy85 -- View this message in context: http://m

[Matplotlib-users] Matplotlib basemap

2014-10-18 Thread Jose M.Allegue
Hi Does anybody knows how to freeze (cx_freeze) a script including basemap ? Thanks -- jose m allegue jmalle...@gmail.com -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted t

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] matplotlib/basemap plot geo data on background map

2010-09-10 Thread izzybitsie
I tested the same plot with a background image in Mercator with same results and I also tested with Mercator covering almost the entire world with the same results. Only a little portion of the background image shows as background although the polygon looks OK in all cases (with maps drawn and wit

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

2010-09-10 Thread izzybitsie
Thanks for your answer. I'm actually looking to plot filled curves whose points are lat/lon points on top of a given background map. The problem experienced is misrepresentation of background map when I insert it using warpimage(), the only function to do this I found so far. Aman Thakral wrote:

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 Aman Thakral
If you're just looking for points, you can use ax.scatter(). It will plot the points. Also, make sure you set the zorder keyword argument in the scatter. Example: x=range(10) y=range(10) z=range(10,20) ax.scatter(x,y,c=z,zorder=10) Hope this helps, Aman On Fri, Sep 10, 2010 at 1:06 PM, izzybit

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

2010-09-10 Thread izzybitsie
Hi, I'm new to matplotlib and I'm looking for an easy way to plot geographical data on a background map: bkgmap.png http://old.nabble.com/file/p29679002/bkgmap.png So far I only found out about warpimage() to do this but only part of bkgmap.png comes up in the output image. I think this is becau

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-11 Thread Scott Sinclair
Here's a response to a similar question a few weeks back: http://www.nabble.com/Kriging-with-Matplotlib-to17281645.html I haven't tried using the RandomRealizations package yet, but it looks good and well documented. Regards, Scott >>> Lionel Roubeyrie <[EMAIL PROTECTED]> 06/11/08 8:47 AM >>>

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-10 Thread Lionel Roubeyrie
Hi Jeff, Do you have in your bags a similar approch but using kriging? For the moment we use R via Rpy to make the computation, but if you know a more pythonic way to do so, I'll appreciate :-) Cordialy Le mardi 10 juin 2008, Jeff Whitaker a écrit : > Jason Li wrote: > > Hi Jeff, > > > > Thanks

Re: [Matplotlib-users] matplotlib/basemap question

2008-06-10 Thread Jeff Whitaker
Jason Li wrote: > Hi Jeff, > > Thanks for your help in the past. Just wondering if I can ask another > question. This is with regard to plotting irregularly spaced geophysical > data. > > I have been happy plotting gridded data away using matplotlib/basemap. > Now I want to try irregularly spa