Re: [Matplotlib-users] Easy come easy go

2010-02-18 Thread Gökhan Sever
Thanks Michiel. "s" keystroke works perfectly now here (bringing the figure save dialog box) with Qt4Agg backend. On Thu, Feb 18, 2010 at 8:58 AM, Michiel de Hoon wrote: > I just uploaded a bugfix to the repository, using *args in all the > save_figure methods and removing the extra argument in

Re: [Matplotlib-users] Problem with plotting fast spiking data

2010-02-18 Thread Jakub Nowacki
Dear John and Eric, Thank you for the fast response. I'm using version 0.99.1.1 (to be exact), the MacOSX binary release for Python 2.5. The fix with path.simplify: False in matplotlibrc works perfectly! I googled quite a lot beforehand in order to find a fix for this issue, but obviously faile

Re: [Matplotlib-users] Problem with plotting fast spiking data

2010-02-18 Thread John Hunter
On Thu, Feb 18, 2010 at 4:19 PM, Jakub Nowacki wrote: > Hi, > > I work with neural models and I have problem with plotting fast spiking data. > The spikes on the plot appear to have different hight which changes when I > for example resize the plot window. The same problem is with saving data in

Re: [Matplotlib-users] Problem with plotting fast spiking data

2010-02-18 Thread Eric Firing
Jakub Nowacki wrote: > Hi, > > I work with neural models and I have problem with plotting fast spiking data. > The spikes on the plot appear to have different hight which changes when I > for example resize the plot window. The same problem is with saving data into > files, especially in vector

Re: [Matplotlib-users] hexbin log bins and colorbar

2010-02-18 Thread John Hunter
On Thu, Feb 18, 2010 at 4:06 PM, Jan Strube wrote: > Hi John, > thanks for trying this also. Yes, I think it's a bug that not the scale is > log, but the data is. > Unfortunately, the solution really doesn't work for me. > Please see the attached screenshot. (Yes, it still says log_10 entries, but

[Matplotlib-users] Problem with plotting fast spiking data

2010-02-18 Thread Jakub Nowacki
Hi, I work with neural models and I have problem with plotting fast spiking data. The spikes on the plot appear to have different hight which changes when I for example resize the plot window. The same problem is with saving data into files, especially in vector formats. I found the information

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Christopher Barker
Werner F. Bruhin wrote: > Using numpy with "/arch nosse" solved the issue. > > Probably OT here, but does anyone know if numpy will in the future be > able to dynamically switch on/off the SSEx support? not unless atlas grows that capability. atlas has to be built with particular features turne

Re: [Matplotlib-users] make autoscale_view even less tight?

2010-02-18 Thread Stan West
> From: C M [mailto:cmpyt...@gmail.com] > Sent: Friday, February 12, 2010 17:15 > > I would like to understand your approach better. So far, I can't get > your code to produce the "margins" indicated--but I'm probably > applying it wrongly. I don't know how to force an autoscale, for > example.

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
Using numpy with "/arch nosse" solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch on/off the SSEx support? Werner On 18/02/2010 17:31, Werner F. Bruhin wrote: > On 18/02/2010 15:12, Werner F. Bruhin wrote: > >> Hi Everyone, >>

[Matplotlib-users] show and savefig : cannot convert float NaN to integer

2010-02-18 Thread Abhishek Tiwari
Hi everyone, I am very new to Python and Matplotlib, so it might be easier than I think. I am doing something like this: y = np.zeros((len(array1),len(array2)), dtype=float) for i in range(len(y)): y[i][i]= array2[i] for i in range(len(y)): plt.plot(array1, y[i]) #plt.sav

[Matplotlib-users] scatter alpha bug

2010-02-18 Thread Ben Axelrod
I think I found a bug in how scatter() handles the alpha transparency of the plotted points. If the color array passed in is composed of integers, then the alpha is applied to the points like it should. But if the color array is floats, then the alpha parameter is ignored. Here is some sample

Re: [Matplotlib-users] semilogx does no longer handle 0.0 correctly?

2010-02-18 Thread Eric Firing
Danny Handoko wrote: > Dear matplotlib community, > > We recently did an upgrade to matplotlib 0.99.0 from 0.91.2. > We noticed that some semilog graphic we previously created are suddenly > no longer visible. After some searching we found out that when the x > data contains a 0.0 value and we

Re: [Matplotlib-users] Masks

2010-02-18 Thread Eric Firing
David Arnold wrote: > All, > > In the code on: > > http://matplotlib.sourceforge.net/examples/api/bbox_intersect.html > > I think I've figured out that: > > vertices = (np.random.random((4, 2))-0.5)*6.0 > vertices = np.ma.masked_array(vertices, [[False, False], [True, True], > [False,

Re: [Matplotlib-users] hexbin log bins and colorbar

2010-02-18 Thread John Hunter
On Thu, Feb 18, 2010 at 10:25 AM, Jan Strube wrote: > Hi Eric, > thanks for your response. > > Your solution looks like it's going to return the right numbers, but for > some reason the tick labels are gone completely. (Except 0) > > The code I have is below. I do think the current behavior is a b

Re: [Matplotlib-users] how to plot data on image.

2010-02-18 Thread John Hunter
On Thu, Feb 18, 2010 at 2:01 AM, yogesh karpate wrote: > Dear All, >   I am facing one peculiar problem. I have ecg data of 2000 > points . I can plot it,but i want to plot the data on image . Kindly find > the attched image with this mail to get my problem.How should I go ahead. >

Re: [Matplotlib-users] Clipping

2010-02-18 Thread Ryan May
On Wed, Feb 17, 2010 at 6:44 PM, David Arnold wrote: > All, > > I'm looking at: > > http://matplotlib.sourceforge.net/examples/api/clippath_demo.html > > But I cannot figure out: > > patch=patches.Circle((300, 300), radius=100) > > Where precisely is (300,300)? I believe it's in window coordinate

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
On 18/02/2010 15:12, Werner F. Bruhin wrote: > Hi Everyone, > > On 08/10/2009 06:54, ross.wil...@ga.gov.au wrote: > >> Hi Listers, >> >> I recently installed matplotlib 0.99.1 hoping to use mplot3d. However, when >> doing 'from mpl_toolkits.mplot3d import Axes3D' python itself crashes. >> R

[Matplotlib-users] fontfamily broken

2010-02-18 Thread Ben Axelrod
The online documentation indicates that either "family", "fontfamily", "fontname", or "name" can be used in all the standard text methods. However, I have found that the implementation for "fontfamily" seems to be missing. This is the traceback I get when I try to use it: Traceback (most rece

Re: [Matplotlib-users] Easy come easy go

2010-02-18 Thread Michiel de Hoon
I just uploaded a bugfix to the repository, using *args in all the save_figure methods and removing the extra argument in the call to save_Figure. --Michiel. --- On Wed, 2/17/10, John Hunter wrote: > From: John Hunter > Subject: Re: [Matplotlib-users] Easy come easy go > To: "Michiel de Hoon"

[Matplotlib-users] semilogx does no longer handle 0.0 correctly?

2010-02-18 Thread Danny Handoko
Dear matplotlib community, We recently did an upgrade to matplotlib 0.99.0 from 0.91.2. We noticed that some semilog graphic we previously created are suddenly no longer visible. After some searching we found out that when the x data contains a 0.0 value and we perform a semilogx(), the figure

[Matplotlib-users] how to plot data on image.

2010-02-18 Thread yogesh karpate
Dear All, I am facing one peculiar problem. I have ecg data of 2000 points . I can plot it,but i want to plot the data on image . Kindly find the attched image with this mail to get my problem.How should I go ahead. Thanx in advance. Regards Yogesh <>-

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
Hi Everyone, On 08/10/2009 06:54, ross.wil...@ga.gov.au wrote: > Hi Listers, > > I recently installed matplotlib 0.99.1 hoping to use mplot3d. However, when > doing 'from mpl_toolkits.mplot3d import Axes3D' python itself crashes. > Reinstalling matplotlib 0.98.5 gets everything working fine, w

Re: [Matplotlib-users] Interactive use of matplotlib in ipython

2010-02-18 Thread Wolfgang Kerzendorf
That is really awesome, I wrote myself a little script today using the poly_editor, data browser and the widgets. This is really cool. I have one problem however, with the widgets I have buttons to switch between different data sets and like in the button demo i just update the plotdata rather tha

[Matplotlib-users] how to plot data on image.

2010-02-18 Thread yogesh karpate
Dear All, I am facing one peculiar problem. I have ecg data of 2000 points . I can plot it,but i want to plot the data on image . Kindly find the attched image with this mail to get my problem.How should I go ahead. Thanx in advance. Regards Yogesh <>-