Re: [Matplotlib-users] Set a 3-D point?

2015-03-30 Thread Prahas David Nafissian
Hi, For those of you following the trials and tribulations of moi, I hacked the solution. The assignment is: x0 = [ [-1.0,0.0,0.5] ] I printed the orig x0. Printed mine. Noticed mine was missing a set of brackets. Tried it. Success! --Prahas On Sun, Mar 29, 2015 at 10:07 AM, Prahas

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)? http://matplotlib.1069221.n5.nabble.com/file/n45276/ff850_0.png Are you sure your

[Matplotlib-users] 'c' Keyword for color not working with latest IPython 3.0.0

2015-03-30 Thread Yuxiang Wang
Dear all, I have tried both latest Anaconda and WinPython in Windows 7, 64-bit system, with Python 3.4 64-bit, and both run into this issue: 1) Open up a new IPython QtConsole (version 3.0.0), and make sure matplotlib version is 1.4.3 2) It doesn't matter which backend you are using. Do:

Re: [Matplotlib-users] 'c' Keyword for color not working with latest IPython 3.0.0

2015-03-30 Thread Thomas Caswell
This bug has already been fixed in the source. The work around for now is to use the full name `color='r'` instead of the alais 'c'. Tom On Mon, Mar 30, 2015 at 11:06 PM Yuxiang Wang yw...@virginia.edu wrote: Dear all, I have tried both latest Anaconda and WinPython in Windows 7, 64-bit

[Matplotlib-users] GridSpec.GridSpecFromSubplotSpec.update()

2015-03-30 Thread Julian Irwin
Hey, I am making a plot using nested GridSpec objects. I would like to adjust the space between the the different GridSpecs. This works fine if I do something like: gs0 = gridspec.GridSpec(a, b) gs1 = gridspec.GridSpec(c, d) gs0.update(...) gs1.update(...) However, If I use

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

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Tony Yu
On Mon, Mar 30, 2015 at 2:15 PM, Foehn fo...@posteo.org 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