Re: [Matplotlib-users] Change color for fill_between to contour plot

2011-07-08 Thread Paul Ivanov
Nader A, on 2011-07-08 20:22, wrote: > I am new to matplotlib. Welcome to the community! > What I want to do is instead of filling the color in red, i want to the > color to be a contour plot of the stress. I think contour and contourf will do what you want, see: http://matplotlib.sourceforg

[Matplotlib-users] Change color for fill_between to contour plot

2011-07-08 Thread Nader A
Greetings, I am new to matplotlib. I have to plot a cross section of a cylinder and I want apply the stress in the section to be a contour plot. Similar to what you get from a Finite Element Analysis data. I have the data organized such that I can use fill_between to create the basic plot and

Re: [Matplotlib-users] matplotlib windows start in background on Mac OS X

2011-07-08 Thread Tony Yu
On Fri, Jul 8, 2011 at 5:11 PM, Geoffrey Irving wrote: > Hello, > > I'm using matplotlib through MacPorts (py26-matplotlib > @1.0.1_2+tkinter) on Mac OS X 10.6.8. If I run pylab.show() from a > script, the plot window starts up in the background rather than taking > focus. Is anyone else seeing

[Matplotlib-users] matplotlib windows start in background on Mac OS X

2011-07-08 Thread Geoffrey Irving
Hello, I'm using matplotlib through MacPorts (py26-matplotlib @1.0.1_2+tkinter) on Mac OS X 10.6.8. If I run pylab.show() from a script, the plot window starts up in the background rather than taking focus. Is anyone else seeing this behavior or have ideas as to workarounds? There's a Raise fun

Re: [Matplotlib-users] Savefig Question

2011-07-08 Thread Michael Droettboom
It's hard to say from the code snippet, but I would track down whether self.page_graph.figure is the figure that you think it is. It could be a Figure object without any axes on it. Cheers, Mike On 07/08/2011 03:55 AM, Sebastian Rhode wrote: Hi, I use the followng function for my applicatio

Re: [Matplotlib-users] Matplotlib crash on Windows 2008 Server

2011-07-08 Thread Noah Aklilu
Hi Paul, I am using py2exe, hence the *.exe. The application is otherwise straight python. Noah. -Original Message- From: Paul Ivanov [mailto:pivanov...@gmail.com] Sent: July-08-11 11:56 AM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Matplotlib crash on

Re: [Matplotlib-users] matplotlib-py3 branch won't show in Ubuntu 10.04

2011-07-08 Thread Darren Dale
On Wed, Jun 29, 2011 at 10:46 AM, Jorge Garcia wrote: > Hello, > > I was trying to test out the Python 3 development version with the first > plot shown in the pyplot tutorial. Everything seems to work ok until I go > > plt.show() > > at which point nothing happens, I don't see a plot. Python acce

Re: [Matplotlib-users] matplotlib-py3 branch won't show in Ubuntu 10.04

2011-07-08 Thread Jorge Garcia
How Would I set the backend to Tk? Do I have to change something in the matplotlibrc file? Maybe I have to specify where Tk is located? Any guidance would be helpful. Thanks again, Jorge Garcia On Sun, Jul 3, 2011 at 6:55 PM, Jorge Garcia wrote: > Hi Chris, > > No I haven't been able to yet,

Re: [Matplotlib-users] Matplotlib crash on Windows 2008 Server

2011-07-08 Thread Paul Ivanov
Noah Aklilu, on 2011-07-07 16:06, wrote: > I am using matplotlib as part of a data analysis tool, and I am > having problems with a crash on Windows 2008 server when > plotting data. The application use to run fine, though I guess > there was a round of windows updates recently (including some >

Re: [Matplotlib-users] build problems

2011-07-08 Thread Paul Ivanov
Nat Echols, on 2011-06-28 12:58, wrote: > We started using Python 2.7.2 a week or two ago, and I'm now running into > this problem when attempting to build matplotlib 1.0.1 on several of our > machines: > > Traceback (most recent call last): > File "setup.py", line 162, in > if check_for_

[Matplotlib-users] Savefig Question

2011-07-08 Thread Sebastian Rhode
Hi, I use the followng function for my application: def OnSaveAs(self, event): dlg = wx.FileDialog(self, 'Choose a Filename', os.getcwd(), '', '*.png*', wx.SAVE | wx.OVERWRITE_PROMPT) if dlg.ShowModal() == wx.ID_OK: savename = dlg.GetPath() self.page_graph.figure.s