Re: [Matplotlib-users] Exact semantics of ion()??

2011-05-31 Thread Eric O LEBIGOT (EOL)
I really appreciate your continuing this discussion, Ben. Benjamin Root-2 wrote: On Mon, May 30, 2011 at 3:11 PM, Eric O LEBIGOT (EOL) eric.lebi...@normalesup.org wrote: Question: would displaying a figure (or a group of figures), pausing to let you close them, and then continuing to the

Re: [Matplotlib-users] Exact semantics of ion()??

2011-05-31 Thread Eric Firing
On 05/30/2011 09:59 PM, Eric O LEBIGOT (EOL) wrote: I really appreciate your continuing this discussion, Ben. Benjamin Root-2 wrote: On Mon, May 30, 2011 at 3:11 PM, Eric O LEBIGOT (EOL) eric.lebi...@normalesup.org wrote: Question: would displaying a figure (or a group of figures), pausing

Re: [Matplotlib-users] Exact semantics of ion()??

2011-05-31 Thread Eric Firing
One-line correction to script attached to last post; so use the one attached here. #/usr/bin/env python import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1,1,1) ax.plot([1,2,1.5]) ax.set_title(Try this) plt.ion() plt.show() answer = raw_input(Was that OK?) if answer ==

Re: [Matplotlib-users] Exact semantics of ion()??

2011-05-31 Thread Eric O LEBIGOT (EOL)
efiring wrote: Stop saying you want to avoid show(); (…). You probably *need* to use show; with 1.0.1 in interactive mode, it will not block. Your script can close the windows; your user doesn't have to do so manually. You are right: your script shows that the latest (1.0.1) show()

[Matplotlib-users] Line clipping on subplot border mandatory?

2011-05-31 Thread Lars Moeller
Wonderful, thanks - that was far too easy to be thought of :) Cheers, Nix On 05/30/2011 05:21 AM, Benjamin Root wrote: On Monday, May 30, 2011, Mondsuechtigerel_lunat...@gmx.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I would like to stack subplots in

[Matplotlib-users] ginput() mouse button assignment

2011-05-31 Thread jgrub
Hello, im currently working on data analysis with matplotlib and have some problems with the useage of the mousebuttons when using the ginput() function i actually have a long sequence of data on which i want to achiece 4 linear regressions, so my idea was to plot the data and choose the data

[Matplotlib-users] import pylab - macosx 10.6

2011-05-31 Thread Jo
Hi Matplotlib Users, First of all, I hope this is the right place to ask my questions, otherwise, apologies for the spam. I am trying to install python on my mac (10.6.7) and I have some issues when trying to import pylab. I installed python 2.7.1 from the EDP package (32-bit), I have numpy

Re: [Matplotlib-users] Exact semantics of ion()??

2011-05-31 Thread Eric Firing
On 05/30/2011 11:42 PM, Eric O LEBIGOT (EOL) wrote: efiring wrote: Stop saying you want to avoid show(); (…). You probably *need* to use show; with 1.0.1 The above was wrong--see below. If you start with interactive mode on, you do not need show at all. In non-interactive mode, you do

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Eric Firing
On 05/31/2011 05:50 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 10:34 AM, Mannucci, Anthony J (335G) anthony.j.mannu...@jpl.nasa.gov mailto:anthony.j.mannu...@jpl.nasa.gov wrote: The following program seems to work with contour/contourf. However the documentation for the

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Benjamin Root
On Tue, May 31, 2011 at 12:58 PM, Eric Firing efir...@hawaii.edu wrote: On 05/31/2011 05:50 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 10:34 AM, Mannucci, Anthony J (335G) anthony.j.mannu...@jpl.nasa.gov mailto:anthony.j.mannu...@jpl.nasa.gov wrote: The following program

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Eric Firing
On 05/31/2011 08:03 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 12:58 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On 05/31/2011 05:50 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 10:34 AM, Mannucci, Anthony J (335G)

[Matplotlib-users] Matplotlib hi

2011-05-31 Thread zane . selvans
Matplotlib you won't be disappointed http://g.msn.com.br/BR9/1369.0?http://cnbc7.com/news -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Benjamin Root
On Tue, May 31, 2011 at 1:28 PM, Eric Firing efir...@hawaii.edu wrote: On 05/31/2011 08:03 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 12:58 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On 05/31/2011 05:50 AM, Benjamin Root wrote: On Tue,

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Eric Firing
On 05/31/2011 08:37 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 1:28 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On 05/31/2011 08:03 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 12:58 PM, Eric Firing efir...@hawaii.edu

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Benjamin Root
On Tue, May 31, 2011 at 2:38 PM, Eric Firing efir...@hawaii.edu wrote: On 05/31/2011 08:37 AM, Benjamin Root wrote: On Tue, May 31, 2011 at 1:28 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On 05/31/2011 08:03 AM, Benjamin Root wrote: On Tue, May 31,

Re: [Matplotlib-users] Input array dimensions for contour or contourf

2011-05-31 Thread Eric Firing
Good catch. Ian Thomas fixed the contouring algorithm so that it handles masked regions perfectly. Eric When did that happen? I can make it a versionadded note so that users of older versions won't be confused. It was about 15 months ago. I think it is better to just

[Matplotlib-users] eps and useTex: tick labels drawn over legend box

2011-05-31 Thread Brannon
Hi, I am having trouble with matplotlib 1.0.1 drawing the axis tick labels over the legend box in the eps output when useTex is set to true. The plot shown after calling plt.show() looks fine, as does the output in pdf, png, svg etc. Only the postscript appears to be affected. The following

Re: [Matplotlib-users] bug in mpl_toolkits.axes_grid1.AxesGrid?

2011-05-31 Thread Jae-Joon Lee
Using AxesGrid does not mean that color scales are shared. It only takes care of axes placement. And it is your responsibility to sync colorbars of multiple images. One option is to use *norm* attribute of images. norm = matplotlib.colors.Normalize() for i in range(3): im =

Re: [Matplotlib-users] eps and useTex: tick labels drawn over legend box

2011-05-31 Thread Jae-Joon Lee
I'm not 100% sure on this but it seems that this is a limitation of psfrag that the ps backend relies on. The ps backend first produces an eps file without TeX labels, and these TeX labels are put on the eps file with latex+psfrag. And it seems these TeX labels are always above the contents of

Re: [Matplotlib-users] eps and useTex: tick labels drawn over legend box

2011-05-31 Thread Jae-Joon Lee
Just in case, I have opened a git issue on this. https://github.com/matplotlib/matplotlib/issues/131 -JJ On Wed, Jun 1, 2011 at 1:23 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: I'm not 100% sure on this but it seems that this is a limitation of psfrag that the ps backend relies on. The ps