[Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread David Kremer
Hello, I'm using archlinux, with all up-to-date packages, and matplotlib within a python2 environment. When I use the zoom function, it seems the zoom is decreasing instead of increasing. Actually, the exact behaviour is to reproduce the old figure in the smaller area selected by the zoom

Re: [Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread Fabrice Silva
Le mercredi 30 mars 2011 à 09:45 +0200, David Kremer a écrit : Hello, I'm using archlinux, with all up-to-date packages, and matplotlib within a python2 environment. When I use the zoom function, it seems the zoom is decreasing instead of increasing. Actually, the exact behaviour is to

Re: [Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread Joachim Saul
Fabrice Silva [03/30/2011 01:13 PM]: Are you aware of the «zoom out to rectangle» feature (with right click-n-drag, opposed to «zoom to rectangle» with left click-n-drag) ? http://matplotlib.sourceforge.net/users/navigation_toolbar.html This is a nice feature that I acually wasn't aware of

Re: [Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread Fabrice Silva
Le mercredi 30 mars 2011 à 13:49 +0200, Joachim Saul a écrit : Fabrice Silva [03/30/2011 01:13 PM]: Are you aware of the «zoom out to rectangle» feature (with right click-n-drag, opposed to «zoom to rectangle» with left click-n-drag) ?

Re: [Matplotlib-users] plot dict

2011-03-30 Thread xyz
On 03/30/2011 05:01 AM, Paul Ivanov wrote: Michael Droettboom, on 2011-03-29 10:12, wrote: On 03/29/2011 09:08 AM, xyz wrote: Hi, X and Y values are stored in a dict whereas X is the key and Y is the value in the following code: import matplotlib.pyplot as plt data = {4: 3, 5: 4, 6: 5,

Re: [Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread David Kremer
As far I'm concerned, I noticed indeed that the right click provide a dezoom, while left click provide a zoom. I was confused because gnuplot uses right click to zoom. But I'm glad to see that this post has treshed a big discussion on the topic ! Thanks :)

Re: [Matplotlib-users] [Zoom function] bug in matplotlib ?

2011-03-30 Thread Joachim Saul
Fabrice Silva [03/30/2011 02:30 PM]: Le mercredi 30 mars 2011 à 13:49 +0200, Joachim Saul a écrit : But speaking of zooming. How nice would it be to use the mouse wheel for that! Point at a position in the figure and just zoom in towards that point, keeping the (configurable) zoom factor

[Matplotlib-users] Saving to PDF does not use alpha information for LineCollection?

2011-03-30 Thread Giovanni Luca Ciampaglia
Attached code for reproducing the problem python bug.py -- lc.pdf, lc.png I noticed a similar bug report posted some time ago on matplotlib-devel by Fernando Perez. http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg05133.html I am on 0.99.3. Has this been fixed in 1.0? I

[Matplotlib-users] Changing Image Size

2011-03-30 Thread Andrew Chapkowski
How can you get the title to scale when the size is changed on the image? When I change the image size, my title is getting chopped off. Thank you Andrew -- Create and publish websites with WebMatrix Use the most

[Matplotlib-users] Window appears, no graph drawn Fw: Plot show() errors, Mac OS 10.6

2011-03-30 Thread Nate Gallagher
Please help. -Nate - Forwarded Message From: Nate Gallagher nate.gallag...@yahoo.com To: matplotlib-users@lists.sourceforge.net Sent: Mon, March 28, 2011 2:41:39 PM Subject: [Matplotlib-users] Plot show() errors, Mac OS 10.6 operating system $ uname -a Darwin

[Matplotlib-users] cannot import name cbook

2011-03-30 Thread Samuel Teixeira Santos
why? anyone knows? TemplateSyntaxError at /accounts/profile/ Caught ViewDoesNotExist while rendering: Could not import irrigaweb.pedotrans.views. Error was: cannot import name cbook Request Method:GETRequest URL: http://hirrigaweb.cpac.embrapa.br/accounts/profile/Django Version:1.2.5Exception

[Matplotlib-users] plotting 3D scatter plots in matplotlib

2011-03-30 Thread per freem
I have a collection of Nx3 matrices in scipy/numpy and I'd like to make a 3 dimensional scatter of it, where the X and Y axes are determined by the values of first and second columns of the matrix, the height of each bar is the third column in the matrix, and the number of bars is determined by N.

[Matplotlib-users] applying colormap to a line

2011-03-30 Thread Nat Echols
I wanted to display a line plot with rainbow coloring based on the y-value, similar to what's possible for surface plots. However, the 'plot' method does not appear to accept a 'cmap' argument. The closest thing I was able to find was a recipe for different colored line segments on the SciPy

Re: [Matplotlib-users] applying colormap to a line

2011-03-30 Thread Eric Firing
On 03/30/2011 01:32 PM, Nat Echols wrote: I wanted to display a line plot with rainbow coloring based on the y-value, similar to what's possible for surface plots. However, the 'plot' method does not appear to accept a 'cmap' argument. The closest thing I was able to find was a recipe for