[Matplotlib-users] Contour/Contourf dynamically with slider

2011-01-18 Thread sprobst
Hi all, I want to make a contout plot with a slider element. But I am not sure if it is possible at all and if it is possible how. The code is a mixture of two examples I found in the web. One part is the slider example of matplotlib from pylab import * N = 50 x = linspace(.0, 1.0, N)

[Matplotlib-users] colorbar: format labels with mathtext

2011-01-18 Thread Stefan Mauerberger
Hi Everyone, I would like to format the labels of a colorbar with mathtext. I have tried a lot with all the cax.formatter.___ options but unfortunately I was not able to get it working. I am plotting some Data with col = ax.pcolorfast( ... ) after this I create a colorbar with cax =

Re: [Matplotlib-users] [matplotlib-devel] [basemap] hammer projection and bug ?

2011-01-18 Thread Jeff Whitaker
On 1/18/11 3:33 AM, Nathanaël Schaeffer wrote: Dear matplotlib developpers, I use matplotlib for several years and I'm very satisfied with the it. I started using the basemap package a few days ago, and I noticed something that looks like a bug : With the Mollweide projection (and others

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread Michael Droettboom
You're right -- matplotlib doesn't set any of these attributes. Fixing this problem would involve adding a few lines of code to set them in each GUI backend (since each GUI toolkit, gtk, qt, tk etc. presumably handles them differently). Is this something you'd be interested in providing a

Re: [Matplotlib-users] [matplotlib-devel] [basemap] hammer projection and bug ?

2011-01-18 Thread Jeff Whitaker
On 1/18/11 6:43 AM, Nathanaël Schaeffer wrote: If it can help, here is a screenshot of the resulting figure of the previous script : http://www.zimagez.com/zimage/basemapbug.php Interestingly, when hoovering the mouse over the figure the displayed x values start at 0 on the beginning of the

Re: [Matplotlib-users] yticks on the right and label size

2011-01-18 Thread Ryan May
On Tue, Jan 18, 2011 at 2:52 AM, g.plantagen...@runbox.com wrote: Hi, I have a problem with plotting two different quantities on the same plot (overlaying two different axes). I plot two different quantities, with different scales, on two overlapping axes. So, I want the quantity 1 to

Re: [Matplotlib-users] yticks on the right and label size

2011-01-18 Thread g.plantageneto
Instead of tick_right() try: AX2.yaxis.set_ticks_position('right') Unfortunately this doesn't solve the problem (if it matters, I run matplotlib version 0.99 from Fedora 13). -- Protect Your Site and Customers

[Matplotlib-users] help! figures closing automatically

2011-01-18 Thread Jeff Peery
Hello, I just upgraded my computer to windows 7. I have everything (python, wxpython, matplotlib, numpy) running now, but there is an annoying problem that when I double click on one of my scripts (simple pylab script) it runs creates a figure and plot then immediately closes... so I don't get

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
Maybe, I am not that familiar with X11 programming. Do you happen to know which source files I should change? -Todd On Tue, Jan 18, 2011 at 8:39 AM, Michael Droettboom md...@stsci.edu wrote: You're right -- matplotlib doesn't set any of these attributes.  Fixing this problem would involve

Re: [Matplotlib-users] Contour/Contourf dynamically with slider

2011-01-18 Thread Eric Firing
On 01/17/2011 10:24 PM, sprobst wrote: Hi all, I want to make a contout plot with a slider element. But I am not sure if it is possible at all and if it is possible how. With contouring, you have to simply remake the ContourSet (that is, re-run contour) with any change to the data being

Re: [Matplotlib-users] help! figures closing automatically

2011-01-18 Thread Benjamin Root
On Tue, Jan 18, 2011 at 10:56 AM, Jeff Peery jeffpe...@seametrics.comwrote: Hello, I just upgraded my computer to windows 7. I have everything (python, wxpython, matplotlib, numpy) running now, but there is an annoying problem that when I double click on one of my scripts (simple pylab

Re: [Matplotlib-users] yticks on the right and label size

2011-01-18 Thread sambarluc
Instead of tick_right() try: AX2.yaxis.set_ticks_position('right') Unfortunately this doesn't solve the problem (if it matters, I run matplotlib version 0.99 from Fedora 13). -- Protect Your Site and Customers

[Matplotlib-users] what does numRows, numCols in subplot docs mean?

2011-01-18 Thread Larry Evans
subplot(numRows, numCols, plotNum) On my local disk, the file: file:///usr/share/doc/python-matplotlib-doc/html/api/pyplot_api.html#matplotlib.pyplot.subplot contains: subplot(numRows, numCols, plotNum) where plotNum = 1 is the first plot number and increasing plotNums fill rows first.

[Matplotlib-users] a question to John Hunter

2011-01-18 Thread renfan . luo
Hello John As you update legend.py with draggable() function, how can create my draggable legend with old version of matplotlib as if use ax.legend(), it always gives me None so I cann't use Adam Fraser's code Draggable(ax.legend()) class. Regards, Renfan With Alstom, preserve the

[Matplotlib-users] Scientific tools tutorial at PyCon US, March 9, 2011

2011-01-18 Thread Mike Müller
Scientific Python Tools not only for Scientists and Engineers = This is the title of my three-hour tutorial at PyCon US: http://us.pycon.org/2011/schedule/sessions/164/ It is a compressed version of my much longer course about: * NumPy

[Matplotlib-users] UNIX_import pyplot:_path.so: symbol _ZNSs4_Rep20_S_empty_rep_storageE:referenced symbol not found

2011-01-18 Thread Clément PORNET
Hi everyone,After having compiling and installing Matplotlib 1.0.1 with Python 2.5.5 on a Unix platform sunos5, I ran into the following problem, when trying to import pyplot or pylab.Here is the ouput when using ipython: co29@mx61$ ipython WARNING: Readline services not available on this

Re: [Matplotlib-users] mac osx 10.6 matplotlib installation error: lipo: can't open input file: /var/tmp//*.out

2011-01-18 Thread Russell E. Owen
In article 26f19958-353a-471e-a1ee-db33f1207...@sydney.edu.au, Leslie Burnett leslie.burn...@sydney.edu.au wrote: Pathways leading to the error message: I obtained Matplotlib from the matplotlib home page download link to sourceforge a) mpkg/dmg installation 1.0.1-r0 fails with

Re: [Matplotlib-users] what does numRows, numCols in subplot docs mean?

2011-01-18 Thread Paul Ivanov
From: Paul Ivanov pivanov...@gmail.com To: Larry Evans cppljev...@suddenlink.net Cc: Bcc: Subject: Re: [Matplotlib-users] what does numRows, numCols in subplot docs mean? Reply-To: In-Reply-To: 4d32e05d.4090...@suddenlink.net X-PGP-Key: http://pirsquared.org/PaulIvanov0F3E28F7.asc Larry

Re: [Matplotlib-users] UNIX_import pyplot:_path.so: symbol _ZNSs4_Rep20_S_empty_rep_storageE:referenced symbol not found

2011-01-18 Thread Paul Ivanov
Clément PORNET, on 2011-01-18 18:39, wrote: Hi everyone,After having compiling and installing Matplotlib 1.0.1 with Python 2.5.5 on a Unix platform sunos5, I ran into the following problem, when trying to import pyplot or pylab.Here is the ouput when using ipython: ImportError: ld.so.1:

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
I think I've found it. But now I need to know what the values should be. I assume the application name should be matplotlib (no quotes, with no capitalization). What about the window role? I am think either figure or plot would be good, probably the former (once again without quotes and with

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread Benjamin Root
On Tuesday, January 18, 2011, todd rme toddrme2...@gmail.com wrote: I think I've found it.  But now I need to know what the values should be.  I assume the application name should be matplotlib (no quotes, with no capitalization).  What about the window role?  I am think either figure or plot

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
On Tue, Jan 18, 2011 at 8:58 PM, Benjamin Root ben.r...@ou.edu wrote: On Tuesday, January 18, 2011, todd rme toddrme2...@gmail.com wrote: I think I've found it.  But now I need to know what the values should be.  I assume the application name should be matplotlib (no quotes, with no