Re: [Matplotlib-users] suppress plotting window

2012-06-19 Thread Maximilian Fabricius
Hi Ben, yes, it is not enabled. Also a call to pyplot.isinteractive() returns False. Maximilian On Mon, Jun 18, 2012 at 3:02 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Jun 18, 2012 at 3:36 AM, Maximilian Fabricius mfabric...@gmail.com wrote: On Tue, Jun 12, 2012 at 6:40 PM, John

[Matplotlib-users] autocorrelation question

2012-06-19 Thread Bala subramanian
Friends, I want to plot the autocorrelation of my data as a function of time as given in the following link, with autocorrelation coef in Y axis and Time in x-axis. http://www.itl.nist.gov/div898/handbook/eda/section3/autocopl.htm I used the following code to achieve the same using the acorr

Re: [Matplotlib-users] autocorrelation question

2012-06-19 Thread francesco oteri
Hi bala, what is the input? How did you calculate it? Francesco 2012/6/19 Bala subramanian bala.biophys...@gmail.com Friends, I want to plot the autocorrelation of my data as a function of time as given in the following link, with autocorrelation coef in Y axis and Time in x-axis.

Re: [Matplotlib-users] autocorrelation question

2012-06-19 Thread Bala subramanian
Hi, The input is a parameter termed dipole moment. I want to see how it decays with respect to time. On Tue, Jun 19, 2012 at 11:12 AM, francesco oteri francesco.ot...@gmail.com wrote: Hi bala, what is the input? How did you calculate it? Francesco 2012/6/19 Bala subramanian

[Matplotlib-users] export colormap to GMT's CPT format

2012-06-19 Thread Andreas Hilboll
Hi, I have a `LinearSegmentedColormap` which I would like to export to GMT's CPT format. However, I couldn't find a way to get the RBG values of the `N` color slices of the colormap, which I need in order to create the CPT file. Any help is greatly appreciated. Cheers, Andreas.

[Matplotlib-users] Matplotlib window not showing anymore

2012-06-19 Thread Mogliii
Hi, Kubuntu 12.04 with python 2.7 and matplotlib 1.1.1 Suddenly the matplotlib window does not open anymore. I tried from konsole with pyton, ipython and also from eclipse with pydev. Last time I know it worked was maybe 5 days ago, haven't tried since then. In ipython --pylab it looks like

Re: [Matplotlib-users] Typing \H{o} in LaTeX

2012-06-19 Thread Michael Droettboom
Good find. I believe it's fixed by this pull request: https://github.com/matplotlib/matplotlib/pull/957 Mike On 06/18/2012 07:18 PM, Daπid wrote: Hello, I am trying to type Erdős in the title of a figure. I am using the LaTeX command Erd\H{o}s, as it works in normal latex documents both in

[Matplotlib-users] Fwd: Question on matplotlib install

2012-06-19 Thread John Hunter
Forwarding this on behalf of Amit. -- Forwarded message -- From: amitc0...@hotmail.com Date: Tue, Jun 19, 2012 at 9:07 AM Subject: Question on matplotlib install To: jdh2...@gmail.com Hi John - I found your email address on the setup splashscreen for matplotlib for windows.

[Matplotlib-users] More efficient way to set_clip_path for many polygons?

2012-06-19 Thread Alexander Crosby
The code below is a stripped down version of the way i am implementing a clip operation, but it is slow and memory inefficient. Is there a way to do this without looping or just faster, perhaps with a PolygonCollection? I have code that finds the perimeter path of a triangulation like this, but

Re: [Matplotlib-users] More efficient way to set_clip_path for many polygons?

2012-06-19 Thread Benjamin Root
On Tue, Jun 19, 2012 at 12:06 PM, Alexander Crosby acro...@asascience.comwrote: The code below is a stripped down version of the way i am implementing a clip operation, but it is slow and memory inefficient. Is there a way to do this without looping or just faster, perhaps with a

[Matplotlib-users] (no subject)

2012-06-19 Thread R. O#39;Gara
http://crossconference.com/wp-content/themes/carrington-blog/error/googles.html-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi All, Sort of hijacking my own thread here. I posted another issue yesterday or the day before, and this has caused me to find some bigger problems... Most likely, there was a change to your matplotlibrc file. There is a setting in there for interactive and by default, it is set to

Re: [Matplotlib-users] Matplotlib window not showing anymore

2012-06-19 Thread Goyo
2012/6/19 Mogliii mogl...@gmx.net: Hi, Kubuntu 12.04 with python 2.7 and matplotlib 1.1.1 Suddenly the matplotlib window does not open anymore. I tried from konsole with pyton, ipython and also from eclipse with pydev. Last time I know it worked was maybe 5 days ago, haven't tried since

Re: [Matplotlib-users] Matplotlib window not showing anymore

2012-06-19 Thread Goyo
2012/6/19 Goyo goyod...@gmail.com: I think it normally shouldn't give the object ID. Yes, it should. Sorry, not an object ID but a string representation of the returned object. -- Live Security Virtual Conference

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Goyo
2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it explicitly: raw_input('Press Enter when you are done') Goyo

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it explicitly: raw_input('Press Enter when you are done') If this is expected - it is a

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Benjamin Root
On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.comwrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script not to end until the user ask for it

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Ben, On Jun 19, 2012, at 12:15 PM, Benjamin Root wrote: On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.com wrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You

Re: [Matplotlib-users] suppress plotting window

2012-06-19 Thread Goyo
2012/6/8 Maximilian Fabricius mfabric...@gmail.com: Hi all, it seems that whenever I plot something, a window opens. from matplotlib import pylab import numpy pylab.plot(numpy.random.normal(size=100)) Now, I have code that is supposed to produce diagnostic plots as PDFs. Only when I pass

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
If this is expected - it is a new feature. My understanding was that changing interactive : True in the matplotlibrc file, then the plots would not vanish until explicitly closed by the user. Is my understanding incorrect? Thanks, Andre That is correct. If you have a

Re: [Matplotlib-users] suppress plotting window

2012-06-19 Thread Maximilian Fabricius
Hi Goyo, I see! I am using the macosx backend. That was the hint I needed. Thanks a lot! Maximilian On Tue, Jun 19, 2012 at 9:27 PM, Goyo goyod...@gmail.com wrote: 2012/6/8 Maximilian Fabricius mfabric...@gmail.com: Hi all, it seems that whenever I plot something, a window opens. from

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Goyo
2012/6/19 Benjamin Root ben.r...@ou.edu: On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud walksl...@gmail.com wrote: Hi Goyo, 2012/6/19 Andre' Walker-Loud walksl...@gmail.com: But my plots still vanish as soon as the script is done : That's to be expected. You can make the script

Re: [Matplotlib-users] where did my plots go?

2012-06-19 Thread Andre' Walker-Loud
Hi Goyo, That is correct. If you have a call to show(), then the script should not finish on their own until the windows are closed -- regardless of whether or not interactive is True or False. The interactive setting should only dictate whether or not the script execution pauses or not at