Re: [Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 7:00 PM, 7stud 7s...@excite.com wrote: Russell E. Owen rowen@... writes: The file you found is the only option for MacOS X (presently). It requires python.org's 32-bit Python 2.7, which is for MacOS X 10.3.9 and later. I just built an installer for

Re: [Matplotlib-users] [wxmpl] mouse location (other PointEvents?) fail when two axes share same area

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 4:54 AM, Oren Gampel o...@futuretech.co.il wrote: This is relating wxmpl (wxPython+matplotlib). version 2.0dev of wxmpl, matplotlib ver 1.1.0, and wx version is 2.8.12.1. Since wxmpl is a very thin layer above mpl, I believe this is an issue with mpl. I'm using

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 4:43 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Ah, this seems to be the issue that my figsize was growing all the time so it went over the maximum limits. I thought this is valid: DefaultSize = F.get_size_inches() print str(DefaultSize) blah

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 9:23 PM, 7stud 7s...@excite.com wrote: Benjamin Root ben.root@... writes: The second one shouldn't take much time at all to finish. How long did it take? How big was the png file? Ben Root def my_func(): import matplotlib.pyplot as plot xs = [2, 3,

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 14/02/2012 13:52, Debashish Saha wrote: import numpy from enthought.mayavi import mlab #def test_mesh(): #A very pretty picture of spherical harmonics translated from #the octaviz example. for r in

Re: [Matplotlib-users] Creating frames for use with ArtistAnimation?

2012-02-15 Thread Benjamin Root
On Sat, Feb 11, 2012 at 8:22 AM, reckoner recko...@gmail.com wrote: Hi, I am creating a big and complicated plot by doing things like: ax.add_patch( ... ) and when I'm done I want to save the resulting frame. However, I've looked through the examples and it seems like you have to use

Re: [Matplotlib-users] 2 possible bugs with make_axes_area_auto_adjustable

2012-02-15 Thread C M
On Mon, Feb 13, 2012 at 12:48 PM, C M cmpyt...@gmail.com wrote: I noticed what is causing one of these issues: 1) When I point-pick on the plot, the plot area still jumps (expands vertically a small amount). It used to do this each time I point-picked, but after upgrading MPL it now just

Re: [Matplotlib-users] Colorbar interfering with figure

2012-02-15 Thread Benjamin Root
On Mon, Feb 13, 2012 at 10:38 AM, Bruce Ford br...@clearscienceinc.comwrote: I have a application that plots figures on demand. I'm running into an issue when plotting more than one parameter on a figure. Each parameter is run through libraries that I've written that make decisions and

[Matplotlib-users] Labeling Contours

2012-02-15 Thread Alexa Villaume
Hi Everybody, I'm trying to label the contours of my contour plot following this example - http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html My actual code looks like this - import matplotlib matplotlib.use('PDF') from pylab import * import numpy as np #

Re: [Matplotlib-users] Labeling Contours

2012-02-15 Thread Eric Firing
On 02/15/2012 10:15 AM, Alexa Villaume wrote: Hi Everybody, I'm trying to label the contours of my contour plot following this example - http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html My actual code looks like this - import matplotlib

[Matplotlib-users] Colobar and change axis x and y labels

2012-02-15 Thread Pythphys
Hello, I don't know if I can ask questions concerning matplotlib problems in this email list ... just let me know that this is not the right place, if. I have an image, which I can read and put into a figure. The image has axis and I can even save the image. I have two issues: 1. Since it is

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Mark Lawrence
On 15/02/2012 17:21, Benjamin Root wrote: On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrencebreamore...@yahoo.co.ukwrote: On 14/02/2012 13:52, Debashish Saha wrote: import numpy from enthought.mayavi import mlab #def test_mesh(): #A very pretty picture of spherical harmonics translated from

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Mark Lawrence
On 15/02/2012 21:34, Benjamin Root wrote: On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrencebreamore...@yahoo.co.ukwrote: On 15/02/2012 17:21, Benjamin Root wrote: On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrencebreamore...@yahoo.co.uk wrote: On 14/02/2012 13:52, Debashish Saha wrote: import

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Wed, Feb 15, 2012 at 3:57 PM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 15/02/2012 21:34, Benjamin Root wrote: On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrencebreamore...@yahoo.co.uk wrote: On 15/02/2012 17:21, Benjamin Root wrote: On Tue, Feb 14, 2012 at 8:58 AM, Mark

Re: [Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-15 Thread Russell E. Owen
In article loom.20120215t014809-...@post.gmane.org, 7stud 7s...@excite.com wrote: Since my op, I also tried to download: matplotlib-1.1.0.tar.gz and I got a Decompression Failed message in the Downloads window. I checked my Safari settings, and Safari is set to automatically

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-15 Thread Russell E. Owen
In article loom.20120215t021422-...@post.gmane.org, 7stud 7s...@excite.com wrote: Russell E. Owen rowen@... writes: I just created a binary installer for python.org's 64-bit Python 2.7 (MacOS X 10.6 and later). I'd like a few folks to test it to make sure it works for more than

Re: [Matplotlib-users] Labeling Contours

2012-02-15 Thread Alexa Villaume
Hi Eric, Thanks for your help, I'm still really new to python and matplotlib. I've got my labels defined but now I'm having another problem with the formatting. I'm doing - CS1.level=[14.07, 14.27] plt.clabel(CS1,CS1.level[::2],inline=True,fmt='OIII',fontize=14) Where I get a type error that

Re: [Matplotlib-users] Colobar and change axis x and y labels

2012-02-15 Thread Alexa Villaume
Try using 'xticks' and 'yticks', those commands let you define the location and label fo your tick marks. Example - xticks( arange(5), ('0', '100', '200', '300', '400') ) Where the argument in arange is the number of tick labels you're making On Wed, Feb 15, 2012 at 10:56 AM,

[Matplotlib-users] Fwd: Re: Colobar and change axis x and y labels

2012-02-15 Thread Pythphys
Thanks Alexa and Jerzy. other questions? ... Here they are: - changing to an image grey scale only needs ... what? - I need to do a 'plane fit' of the image. Does matplotlib have some routine for this? Or shall I use other math libs? Thanks again. Le 16/02/2012 02:20, Alexa Villaume a

Re: [Matplotlib-users] Fwd: Re: Colobar and change axis x and y labels

2012-02-15 Thread Alexa Villaume
You need to use the 'imshow' function to display an image in greyscale. You have to turn your image into an array of values and then put that array into imshow with the colormap set to grey. I don't know about how to do a plane fit... On Wed, Feb 15, 2012 at 9:18 PM, pythp...@root-1.de wrote: