Re: [Matplotlib-users] [SciPy-user] linear_least_squares: OverFlow error or flapack.error

2006-06-08 Thread massimo sandal
Ok, I guess I found the problem is in my code (the arrays I'm passing are indeed empty for some reason, not surprising it can't line fit them). So high shame on me for having polluted the mailing list :( A lesson in humility (and debugging) indeed. Thanks anyway... I flee in shame. m. -- Mass

Re: [Matplotlib-users] pylab crashes simple wxPython script

2006-06-08 Thread Christian Meesters
On Thursday 08 June 2006 16:19, massimo sandal wrote: > Brian Blais ha scritto: > > I want to write a wxPython script to pull up pylab plots (in a separate > > window), based on menu or button choices. The script below crashes with > > a segmentation fault. Am I doing something wrong here? Is the

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-08 Thread Darren Dale
On Thursday 08 June 2006 10:35, massimo sandal wrote: > Hi, > I upgraded today to matplotlib 0.87.3, compiled from source. > I noticed the following error when in my application I try to export the > plot in EPS format. The odd thing is that the export actually works and > produces a good eps file,

Re: [Matplotlib-users] [SciPy-user] linear_least_squares: OverFlow error

2006-06-08 Thread massimo sandal
Hi, I upgraded today to latest numpy (0.9.8) and matplotlib (0.87.3). I still have the same error (upgraded code in snippet): - import matplotlib.numerix as nx contact_x_points=nx.array(x_points[left_bound:right_bound]) contact_y_points=nx.array(y_points[left_bound:right_bound]) A=nx.o

[Matplotlib-users] ANN: basemap 0.9

2006-06-08 Thread Jeff Whitaker
The main purpose of this release is to take advantage of the new aspect ratio handling in matplotlib 0.87.3. Some new features have been added (new polar-centric convenience projections, sinusoidal projection, ability to plot land-sea masks, pcolormesh method), and numerous bugs were squashed.

[Matplotlib-users] OSError when exporting figure in EPS

2006-06-08 Thread massimo sandal
Hi, I upgraded today to matplotlib 0.87.3, compiled from source. I noticed the following error when in my application I try to export the plot in EPS format. The odd thing is that the export actually works and produces a good eps file, but nevertheless... File "hooke.py", line 354, in ExportIm

Re: [Matplotlib-users] pylab crashes simple wxPython script

2006-06-08 Thread massimo sandal
Brian Blais ha scritto: I want to write a wxPython script to pull up pylab plots (in a separate window), based on menu or button choices. The script below crashes with a segmentation fault. Am I doing something wrong here? Is there a workaround or fix? As far as I know, mixing wxpython and p

Re: [Matplotlib-users] line labels?

2006-06-08 Thread David Huard
Hi, I'd do it the quick way:str = [...] # list of strings for the labels.x[:] # abcisse vectory[i][:] # list of ordinate vector (y[i][:] contains the data for the ith line)for i in range(10):     text(x[-1], y[i][-1], str[i], horizontalalignement='left')David2006/6/7, Webb Sprague <[EMAIL PROTECTED

Re: [Matplotlib-users] x axis looks [resolve]

2006-06-08 Thread leau2001
i succed, just do this : labels = getp(gca(), 'xticklabels') setp(labels, 'rotation', 45,'horizontalalignment', 'right', fontsize=8) that's all ;) ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net

[Matplotlib-users] pylab crashes simple wxPython script

2006-06-08 Thread Brian Blais
Hello, I want to write a wxPython script to pull up pylab plots (in a separate window), based on menu or button choices. The script below crashes with a segmentation fault. Am I doing something wrong here? Is there a workaround or fix? thanks,

[Matplotlib-users] x axis looks

2006-06-08 Thread leau2001
i want to have this x axe look, not with date, but with any words, i don't find how i can do this Thx ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] Question re: mathtext equations

2006-06-08 Thread Darren Dale
On Wednesday 07 June 2006 16:45, John Hunter wrote: > > "William" == William Hartt <[EMAIL PROTECTED]> writes: > > William> Does anyone know the syntax for fraction used in > William> mathtext? The LaTex version is \frac{num}{denom} but > William> this gives an error. > > mathtext

[Matplotlib-users] ZeroDivisionError: float division [resolve]

2006-06-08 Thread leau2001
No problem with the last version ;) thx Developpers ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

[Matplotlib-users] ZeroDivisionError: float division

2006-06-08 Thread leau2001
Iv got an error , when all the value in the list is the same, " b=points[a+1]-points[a]"=0 then "list_progre"=[0,0,0,0,0,0,0] and then : "progres=plot(dt_date, list_progre, '')" made me an error : "var = dv/max(abs(vmin), abs(vmax)) ZeroDivisionError: float division" what can i do to stop this er