[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 attachment:

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

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,

[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 attachment:

[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

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 jdh2...@gmail.com wrote: From: John Hunter jdh2...@gmail.com Subject: Re: [Matplotlib-users] Easy

[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 recent call

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. Reinstalling

Re: [Matplotlib-users] Clipping

2010-02-18 Thread Ryan May
On Wed, Feb 17, 2010 at 6:44 PM, David Arnold dwarnol...@suddenlink.net 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

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 yogeshkarp...@gmail.com 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

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 curious...@gmail.com 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

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, False],

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] 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, On

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. Your

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 turned on

[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

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 curious...@gmail.com 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

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] Problem with plotting fast spiking data

2010-02-18 Thread John Hunter
On Thu, Feb 18, 2010 at 4:19 PM, Jakub Nowacki j.s.nowa...@googlemail.com 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

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