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

2012-02-14 Thread 7stud
Benjamin 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, 5, 7, 11] ys = [4, 9, 5, 9, 1] plot.plot(xs, ys) plot.savefig("squa

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

2012-02-14 Thread Jeff Whitaker
On 2/14/12 7:10 PM, Benjamin Root wrote: On Tuesday, February 14, 2012, 7stud <7s...@excite.com > wrote: > Russell E. Owen 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

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

2012-02-14 Thread Benjamin Root
On Tuesday, February 14, 2012, 7stud <7s...@excite.com> wrote: > Russell E. Owen 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 just me, before serving it at th

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

2012-02-14 Thread 7stud
Russell E. Owen 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 just me, before serving it at the usual > location. > I can report that your installer has enabl

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

2012-02-14 Thread 7stud
Russell E. Owen 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 python.org's 64-bit Python 2.7, which > requires MacOS X 10.6 and after a bit of

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

2012-02-14 Thread Russell Owen
Yes at some point, but I don't have a git repository for matplotlib yet so it may take me awhile. It's a one-liner as per the posting. -- Russell On Feb 14, 2012, at 2:50 PM, Benjamin Root wrote: > On Tuesday, February 14, 2012, Russell E. Owen wrote: > > I just created a binary installer for

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

2012-02-14 Thread Benjamin Root
On Tuesday, February 14, 2012, Russell E. Owen wrote: > 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 just me, before serving it at the usual location. > > The temporary link is

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

2012-02-14 Thread Martin Mokrejs
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 F.set_size_inches(DefaultSize) See http://matplotlib.sourceforge.net/api/figure_api.html set_size_in

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

2012-02-14 Thread Russell E. Owen
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 just me, before serving it at the usual location. The temporary link is:

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

2012-02-14 Thread Martin Mokrejs
Hi, the below code works for me but in case there are few values to be rendered it chokes (I think this is the culprit or maybe one of the values isn't unique in those input lists?): pylab.clf() if longlegends: F.set_size_inches( (DefaultSize[0], DefaultSize[1]*2.5) ) _e =

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

2012-02-14 Thread Russell E. Owen
In article <20120213223549.21...@web007.roc2.bluetie.com>, "Full Name" <7s...@excite.com> wrote: > Hello, > > Mac OSX 10.6.8 > matplotlib 1.1.0 > > > From the matplotlib website: > = > Installing OSX binaries > If you want to install matplotlib from one of the binary installers we buil

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Olе Streicher
Jerzy Karczmarczuk writes: > Could you provide a /working/ example with the geometry you really want? > I believe I thought more or less about it as Tony Yu did. If it is > wrong, be more precise, please. I have a data set that looks like this: mydata = numpy.copy([ # lambda, data # First da

Re: [Matplotlib-users] 3

2012-02-14 Thread de...@verizon.net
...Earn money right from your computer. http://ponto.kelly-systems.com.br/job.link.php?gid_friend=78u5 -- Sent using Verizon.net Mobile -- Keep Your Developer Skills Cu

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Jerzy Karczmarczuk
Could you provide a /working/ example with the geometry you really want? I believe I thought more or less about it as Tony Yu did. If it is wrong, be more precise, please. Jerzy Karczmarczuk -- Keep Your Developer Skill

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Tony Yu
On Tue, Feb 14, 2012 at 10:33 AM, Olе Streicher wrote: > Tony Yu writes: > > Does the following do what you need? > > > > # > > import numpy as np > > import matplotlib.pyplot as plt > > > > width = 0.5 > > height = 10 > > > > for x in np.arange(11): > > strip = np.random.random(size=(50,

Re: [Matplotlib-users] "Visually equivalent" contours/parallels

2012-02-14 Thread Jerzy Karczmarczuk
Andrea, I believe that if you find ONE good visual aspect ratio, according to your figure size, that should do. Yo know your figsize, and if you know all in your axes([bot,lft,wid, height]), that this visual ratio should be easy to fix. BTW, I did not understand why do you play with your "angle"

Re: [Matplotlib-users] "Visually equivalent" contours/parallels

2012-02-14 Thread Andrea Gavana
Hi Jerzy, On 14 February 2012 16:03, Jerzy Karczmarczuk wrote: > Andrea Gavana : >> after some great help from the Numpy users list, I have managed to >> create "parallel curves". >> >> >> But I can't really do that with the set of data I have, as the X and Y >> variables have different order of m

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Olе Streicher
Tony Yu writes: > Does the following do what you need? > > # > import numpy as np > import matplotlib.pyplot as plt > > width = 0.5 > height = 10 > > for x in np.arange(11): >     strip = np.random.random(size=(50, 1)) >     plt.imshow(strip, extent=(x-width/2, x+width/2, 0, height)) > > plt.x

Re: [Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Tony Yu
On Tue, Feb 14, 2012 at 9:48 AM, Olе Streicher wrote: > Hi list, > > I have a list of 48 individual data sets (lambda,y) which I want to plot in > the following diagram: > > lambda > ^ > | > | > | > | > +---> > 1 2 3 4 5 6 .. Dataset # > > The "y" values should be color coded here, in

Re: [Matplotlib-users] "Visually equivalent" contours/parallels

2012-02-14 Thread Jerzy Karczmarczuk
Andrea Gavana : > after some great help from the Numpy users list, I have managed to > create "parallel curves". > > > But I can't really do that with the set of data I have, as the X and Y > variables have different order of magnitude and I need a single > subplot on the figure to have rectangular

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

2012-02-14 Thread Mark Lawrence
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 range (1,5): > print r > > > pi = numpy.pi > > cos = numpy.cos

[Matplotlib-users] plot as individual "colorbars"

2012-02-14 Thread Olе Streicher
Hi list, I have a list of 48 individual data sets (lambda,y) which I want to plot in the following diagram: lambda ^ | | | | +---> 1 2 3 4 5 6 .. Dataset # The "y" values should be color coded here, in a similar fashion as it is done in a color bar (f.e. that I can interpolate betw

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

2012-02-14 Thread Debashish Saha
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 range (1,5): print r pi = numpy.pi cos = numpy.cos sin = numpy.sin dphi, dtheta, dz = pi/250.0, pi/250.0, 0.01

[Matplotlib-users] Discussion with Guido van Rossum and (hopefully) core python-dev on scientific Python and Python3

2012-02-14 Thread Fernando Perez
Hi folks, [ I'm broadcasting this widely for maximum reach, but I'd appreciate it if replies can be kept to the *numpy* list, which is sort of the 'base' list for scientific/numerical work. It will make it much easier to organize a coherent set of notes later on. Apology if you're subscribed to

Re: [Matplotlib-users] I cannot download the matplotlib

2012-02-14 Thread Scott Sinclair
On 14 February 2012 14:23, wrote: > I have already installed scipy , numpy & python 2.6.6. Also , I installed > matplotlip from its website. I strongly need basemap toolkits but when I try > to install it I cannot do that always I got error massage or command cannot > found. So could you please h

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

2012-02-14 Thread Oren Gampel
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 wxmpl and trying to get mouse points and selection. This fails when there is more t

[Matplotlib-users] "Visually equivalent" contours/parallels

2012-02-14 Thread Andrea Gavana
Hi All, after some great help from the Numpy users list, I have managed to create "parallel curves". Basically I have a set of X, Y data (around 1,000 elements each) and I want to create 2 parallel "curves" (offset curves) to the original one; "parallel" means curves which are displaced from