[Matplotlib-users] Arrows between points in a plot?

2009-11-28 Thread Michael Cohen
Hi all, I have a plot that has say 6 black X's, each separate, and 6 blue X's, also separate, denoting where x's 1-6 have moved to (from black to blue). Currently each point is plotted with a separate plot function. I would like to generate a plot where each black x and blue x pair has an arrow

[Matplotlib-users] question about explicit tick labels

2009-11-28 Thread Peter Williams
Hi All, I'm trying to create a set of strip charts so that I can see the relationships between a large number of time series. I'd like to label the y-axis with a name on the left side and a value/percentile on the right hand side. I can get the names on the left axis, and it looks very nice (

[Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-28 Thread Wayne Watson
See Subject. I don't seem able to produce a simple example of using histogram that uses range. I tried a variety of ranges, range=(0,22), range=(0, 50.2), ... and I see no difference between any of the x values scale. Can someone provide an example that shows how it works? -- Wayne

[Matplotlib-users] Bug in matplotlib.patches' contains() method?

2009-11-28 Thread Jorge Scandaliaris
Hi, I was trying to find out when a button_press_event happened inside a patch (tried Circle and Rectangle) using the contains(mouseevent) method, but it always seem to return True. I got the inspiration from the looking_glass.py example, which also doesn't work as (Ithink) it should. I know Ican d

[Matplotlib-users] showing xlabel and ylabel with 1eX notation

2009-11-28 Thread Pau
Hello, I am doing a plot and the x axis shows a small 1e7 indicating that the numbers should be multiplied by that quantity, but the y axis does not and is showing labels like 0.07 Why is that? I would like it to also use the 1eX notation Any comment will be appreciated Thanks, Pau This i

Re: [Matplotlib-users] imagsc comparison

2009-11-28 Thread Eric Firing
Brian Larsen wrote: > Hello all, > > several of my colleagues and I are 99% sure we are making the change from IDL > to python-matplotlib. I have just one issue that I am trying to work out > that I need to solve. We are so far really impressed and looking forward to > the change. > > I hav

Re: [Matplotlib-users] [Newbie] question concerning color mapping

2009-11-28 Thread Pierre de Buyl
Hello, the np.random.randn() functions returns a list (or an array if given appropriate arguments) of normal distributed numbers. If x and y are also of length 100, each couple (x[i],y[i]) will be assigned a size size[i] and a color colours[i]. This happens not at all because of magic, but b

Re: [Matplotlib-users] Links in pdf

2009-11-28 Thread Fabricio Silva
Le samedi 28 novembre 2009 à 17:04 +0200, Jouni K. Seppänen a écrit : > > More specifically, I have a figure with a bunch of nicely-formatted > > subplots and I embed this figure in a beamer presentation. I wish I > > could play the associated sound when I click on one of the subplots in > > Beamer

Re: [Matplotlib-users] axis on top for barh plot

2009-11-28 Thread Ernest Adrogué
28/11/09 @ 00:17 (+0100), thus spake Mike Anderson: > Hi, > > How can I put the bottom axis on top (or on top AND on bottom) for a barh > plot? > > I'm trying to mimic this, made with gnuplot: > > http://www.hep.wisc.edu/cms/comp/cmsprod/dCacheUserUsage.png > > within matplotlib, and I've co

Re: [Matplotlib-users] Links in pdf

2009-11-28 Thread Jouni K . Seppänen
Fabricio Silva writes: > I wish I could save include links in exported pdf file. Tell me whether > it is possible to have a pdf file containing matplotlib plots on which I > could click to run actions, in the same manner that pdf files can > include clickable URL... This is not possible with the

[Matplotlib-users] imagsc comparison

2009-11-28 Thread Brian Larsen
Hello all, several of my colleagues and I are 99% sure we are making the change from IDL to python-matplotlib. I have just one issue that I am trying to work out that I need to solve. We are so far really impressed and looking forward to the change. I have seen discussion on this list about

[Matplotlib-users] Links in pdf

2009-11-28 Thread Fabricio Silva
Hi folks I know it is possible to handle events in the figure canvas to interact with plots and components of the figure, to even run shell commands, etc... I wish I could save include links in exported pdf file. Tell me whether it is possible to have a pdf file containing matplotlib plots on which