[Matplotlib-users] hover events for fill_between regions

2011-11-17 Thread Ben Elliston
Hi. I have a plot with numerous time series plotted using pyplot.plot. Between these time series, I fill the regions using pyplot.fill_between. I would like to be able to provide information when users hover over different filled regions. Is there a way to catch mouse motion events for the fille

Re: [Matplotlib-users] pylab.show() does nothing OSX Lion

2011-11-17 Thread Youngung Jeong
I've been suffering from installing Scipy, Numpy, and matplotlib on my Mac-Lion system. I've searched through google and attempted a couple of the methods. Some worked fine, some not. In the end I decided to use Enthought Python Distribution. I've found it very easy and working fine. Of course, I'd

Re: [Matplotlib-users] Can't install matplotlib on OS X with PIP

2011-11-17 Thread Ludwig Schwardt
Hi Sameer, If you are using the default (system) Python, I found that the only extra dependency you need to install is pkg-config. I used homebrew for this (http://mxcl.github.com/homebrew/ and "brew install pkg-config"). Alternatively, you can install it directly from the source obtained at

Re: [Matplotlib-users] Arrays for markersize?

2011-11-17 Thread Eric Firing
On 11/15/2011 05:44 AM, astrowilson wrote: > > Hey everyone, > > I'm doing a dissertation where I need to vary the size of the points in a 2D > plot. Now I know that you can change the size of every point by changing the > value of markersize to any integer value you want, but how do you put in an

Re: [Matplotlib-users] Meridians not show using Mercator projection

2011-11-17 Thread Gökhan Sever
Thanks Jeff and Eric. Both solutions simply works :) -- Gökhan -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, frau

Re: [Matplotlib-users] Plot trajectories with arrow tips

2011-11-17 Thread Tony Yu
On Sun, Nov 13, 2011 at 7:52 AM, asd dasdas wrote: > Hi everyone, > > can someone please help me how to make a plot like this: > http://tutorial.math.lamar.edu/Classes/DE/PhasePlane_files/image002.gif > > The main issue with it is in the (black) trajectories. As far as i know > there is no functi

[Matplotlib-users] mpl-data directory

2011-11-17 Thread Piotr Tynecki
Hi guys, Is it possible to create executable file from Python script which uses matplotlib without mpl-data directory? I'm using only AGG backend (generates png file) so I don't need the fonts and images directory. As you know mpl-data size is huge, more than 3MB. I'd like to reduce final size of

Re: [Matplotlib-users] Today's XKCD

2011-11-17 Thread klo uo
I first opened GMail instead Google Reader and you show it to me first :D I don't know half of those projection but I guess I would choose Plate Cartee :D Cheers On Mon, Nov 14, 2011 at 3:28 PM, Michael Droettboom wrote: > Sorry for the slightly OT post, but I thought all of the basemap-using >

[Matplotlib-users] Can't install matplotlib on OS X with PIP

2011-11-17 Thread Sameer Farooqui
Hi all, This is my first time setting up matplotlib. I'm on OS X Lion 10.7 (build 11A511s, so no updates done to the initial release of OS X Lion). I am using virtualenv and pip to do the installation. I'm aware of the incompatibility with libpng 1.5, so I didn't just run "pip install matplotli

[Matplotlib-users] Arrays for markersize?

2011-11-17 Thread astrowilson
-- View this message in context: http://old.nabble.com/Arrays-for-markersize--tp32848328p32848328.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- All the data continuously generated in you

[Matplotlib-users] pylab.show() does nothing OSX Lion

2011-11-17 Thread Collin Capano
Hi, I've installed matplotlib on a new computer running OSX Lion 10.7.2 (Xcode version 4.2). When I open ipython and try to run: In [1]: import pylab In [2]: pylab.figure(); pylab.plot([0,1],[2,2]); pylab.show() nothing happens. I can, however, save the plot using pylab.savefig. I am using mat

[Matplotlib-users] How can I get it to work on python 2.7

2011-11-17 Thread Greg Schwarzentraub
The matplotlib download says its for python 2.7, but it requires numpy and I can only find numpy for version 2.6 of python. I tried to install numpy for 2.6 and it wouldn't work. Greg Schwarzentraub -- All the data con

[Matplotlib-users] Matplotlib graph autoscale

2011-11-17 Thread Fabien Lafont
Hello everyone, I've adapted a python code to plot real time data but I don't manage to have an auto-scale on my graph. I don't understand because I use" set_autoscale_on(True)"  Do you have an idea? Here is "my" simplified code: #!/usr/bin/env python #from visa import * from pylab import *

[Matplotlib-users] python / matplotlib central

2011-11-17 Thread Rahul Mahajan
Hi, Is there such a thing "Python / Matplotlib Central Exchange" similar to the "File Exchange on Matlab Central" ( http://www.mathworks.com/matlabcentral/fileexchange/ ) that anyone is aware of which allows one to search for user-contributed functions / packages. Many Thanks! --

Re: [Matplotlib-users] Clearing the axis in a figure embedded in Tkinter

2011-11-17 Thread johnmcpot
Hi JD, I'm having exactly the same problem. Did you find a solution? The only thing that I have noted so far is that when I plot for the second time (when the axes start overlapping) if I move the cursor inside the canvas area, it flickers and then the plots are displayed correctly. But it only

[Matplotlib-users] Plot trajectories with arrow tips

2011-11-17 Thread asd dasdas
Hi everyone, can someone please help me how to make a plot like this: http://tutorial.math.lamar.edu/Classes/DE/PhasePlane_files/image002.gif The main issue with it is in the (black) trajectories. As far as i know there is no function in matplotlib to plot trajectories with arrows pointing in a d

[Matplotlib-users] Arrays for markersize?

2011-11-17 Thread astrowilson
Hey everyone, I'm doing a dissertation where I need to vary the size of the points in a 2D plot. Now I know that you can change the size of every point by changing the value of markersize to any integer value you want, but how do you put in an array so that every point is a specific size? Thank

[Matplotlib-users] Question about drawing value text for a slider

2011-11-17 Thread Eli Lyons
Hi, I'm using a slider widget from matplotlib and I've been trying to update just the slider bar using blit for faster animation because if I use draw() for the whole canvas it is too slow. I got the bar to animate faster using this method (though it doesn't look perfect), but I can't figure out h

[Matplotlib-users] contourf cmap.set_under

2011-11-17 Thread Yoshi Rokuko
following the example [1] i can't get the colorbar extend colors to show properly. here is what i did: import matplotlib.pyplot as plt import matplotlib.cm as cm levels = np.linspace(.01,.69,10) <...> im = plt.contourf(x, y, z, levels, extend='both', cmap=cm.BuPu) im.cmap.set_under('yellow') im.c