Re: [Matplotlib-users] speeding-up griddata()

2009-07-27 Thread Denis-B
stack in interpolate_one might be the time hog; I see claims that plain vector is faster. StackVectorint, 128 in http://stackoverflow.com/questions/354442/looking-for-c-stl-like-vector-class-but-using-stack-storage looks nice, but I haven't timed it myself. cheers -- denis -- View this

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
thanks!! only 4 left. On Mon, Jul 27, 2009 at 11:31 AM, Gökhan SEVER gokhanse...@gmail.comwrote: For the 5th one ;) figure(frameon=False) On Mon, Jul 27, 2009 at 8:26 AM, Gewton Jhames gjha...@gmail.com wrote: Hello, would you help me in some design issues that I wish to put in my

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Jae-Joon Lee
On Mon, Jul 27, 2009 at 11:55 AM, Tony S Yuton...@mit.edu wrote: The 3rd issue is a bit more difficult. One approach is to use Jae-Joon's AxesGrid toolkit; you may need to be using the latest development version of matplotlib to use the toolkit. I think it would be easier to use the recently

Re: [Matplotlib-users] square plots with linear equal axes -- help

2009-07-27 Thread Jae-Joon Lee
Well, I think the meaning of the axis(equal) is a bit misleading (at least to me), but if you look at the documentation, it says that it changes the xlimit and ylimit (limits in data coordinate), so this is NOT what you want. What you need is axis(scaled) or axis(image).

Re: [Matplotlib-users] ipython --pylab without namespace pollution?

2009-07-27 Thread Christopher Barker
Ryan May wrote: Put this in your ~/.ipython/ipythonrc: pylab_import_all 0 I finally got around to doing this, and found: # === # Deprecation note: you should look into modifying ipy_user_conf.py (located # in

Re: [Matplotlib-users] problems with contourf plots

2009-07-27 Thread Eric Firing
Paul Anton Letnes wrote: Hi, I'm having strange problems with contourf plots. The plotting routine is rather elaborate, so I don't have an easy way to reproduce the problem (unfortunately). The problem should be evident from the attachments. As you can see, the contourf routine doesn't

Re: [Matplotlib-users] ipython --pylab without namespace pollution?

2009-07-27 Thread Ryan May
On Mon, Jul 27, 2009 at 2:40 PM, Christopher Barker chris.bar...@noaa.govwrote: Ryan May wrote: Put this in your ~/.ipython/ipythonrc: pylab_import_all 0 I finally got around to doing this, and found: # === #

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
Thanks everyone. Everything works perfectly. Only a few things left: 1. How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have attached a file to this email to show it, the background of the

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
That's right Gökhan, I should have thought on it before ask. Thanks. Only the first one remains... this one I could not find a way. I know there is one class called FigureCanvasAgg, but I didn't find anything on it. On Mon, Jul 27, 2009 at 5:16 PM, Gökhan SEVER gokhanse...@gmail.com wrote: For

Re: [Matplotlib-users] Design questions

2009-07-27 Thread John Hunter
On Mon, Jul 27, 2009 at 10:55 AM, Tony S Yuton...@mit.edu wrote: Below is some code to do 1, 2, and 4. The 3rd issue is a bit more difficult. One approach is to use Jae-Joon's AxesGrid toolkit; you may need to be using the latest development version of matplotlib to use the toolkit. BTW, does

Re: [Matplotlib-users] Design questions

2009-07-27 Thread John Hunter
On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhamesgjha...@gmail.com wrote: Thanks everyone. Everything works perfectly. Only a few things left: How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Jae-Joon Lee
On Mon, Jul 27, 2009 at 4:06 PM, Gewton Jhamesgjha...@gmail.com wrote: How to trim the canvas of the image generated? It's transparent, but still have a padding, if it would be cropped, I can safe almost 200px!. I have attached a file to this email to show it, the background of the graph was

[Matplotlib-users] Equal area projection

2009-07-27 Thread Angus McMorland
Hi all, I've recently implemented a simple equal area (Lambert) projection in mpl, using two polar Axes (to draw each hemisphere), and this currently works fine to draw lines and points, since I'm transforming the points in my own code, from 3d-polar to 2d-projected-polar co-ordinates, and then

Re: [Matplotlib-users] Equal area projection

2009-07-27 Thread Jeff Whitaker
Angus McMorland wrote: Hi all, I've recently implemented a simple equal area (Lambert) projection in mpl, using two polar Axes (to draw each hemisphere), and this currently works fine to draw lines and points, since I'm transforming the points in my own code, from 3d-polar to

[Matplotlib-users] Custom toolbar.Is it possible?

2009-07-27 Thread Alexander Bruy
Hello, matplotlib have nice and helpfull feature - navigation toolbar. But in some cases some default buttons are not needed. Is it possible to customize NavigationToolbar (e.g. disable or hide some buttons)? I'm use matplotlib with PyQt 4.4.3 and Python 2.5.4 under Windows XP. Thanks,