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