Re: [Matplotlib-users] get_xlim() - where am I going wrong

2007-06-13 Thread brett . mcsweeney
Just as a general comment - perhaps not useful in your case - we have the same sort of requirement and find the periodogram facility (specgram) in pylab very useful for showing the change in PSD over time - highlighting resonances and how they vary in proportion to other functions of time (plot

[Matplotlib-users] get_xlim() - where am I going wrong

2007-06-13 Thread Stephen George
Hi, I have 2 graphs on one figure. Graph one - subplot(2,1,1)velocities vs ( Time or SampleIndex) depending in input args Graph two - subplot(2,1,2) psd() - power spectrum to help us find the resonances in velocities As system goes through a number of different states, the resonances c

Re: [Matplotlib-users] spawning plots as separate processes

2007-06-13 Thread Andrew Straw
signal seeker wrote: > Bill, > > The problem is I am writing a bunch of diagonistic tools for users who > do not know anything about unix. > they just want to type a bunch of commands on a shell and see the plots > and they hardly know anything fancy like sending processes to the > background :) >

Re: [Matplotlib-users] spawning plots as separate processes

2007-06-13 Thread signal seeker
Bill, The problem is I am writing a bunch of diagonistic tools for users who do not know anything about unix. they just want to type a bunch of commands on a shell and see the plots and they hardly know anything fancy like sending processes to the background :) I guess, I am going to have to use

Re: [Matplotlib-users] [Solved?] Unexplained label on plot

2007-06-13 Thread Stuart Yarrow
Steve, Thank you, I think you are right in general (the multiply by 6 is correct though). Since mucking about with my code a bit more it has disappeared. Just strange to see an additive, as opposed to multiplicative, error given the type of calcs that I am doing, hence my doubting the meanin

Re: [Matplotlib-users] Unexplained label on plot

2007-06-13 Thread Steve Schmerler
Stuart Yarrow wrote: > Hi All, > > An extra label is appearing on the plot I'm generating. I wonder if anyone > could explain what it means/how to get rid of it? > > The plot is available at http://test.outpost.org.uk/example.png - the > unexplained label is the '+4.05674e7' in the upper right ha

[Matplotlib-users] showing text for some seconds after pick

2007-06-13 Thread Alexandru Ionut Munteanu
Hello, I am quite new to matplotlib. I'm drawing some points on a figure and have implemented a pick_event callback, in order to show something near the point I click. Now the problem is that when I show the text near the point, it hides a lot of other points, so I would like the text to dissapear

Re: [Matplotlib-users] spawning plots as separate processes

2007-06-13 Thread signal seeker
Bill, Thanks for your reply. pylab(ion) is not what I meant. Consider this simply script - . # simple.py from pylab import * plot([1,2,3]) show() Now, if I do python simple.py on a cmd prompt, this will open up a plot window, but the script won't return until the plot window is closed.

Re: [Matplotlib-users] (solved) When matplotlib is embeded in a pyGTK application, how to make the NavigationToolbar2 key ('1' '2' 'a' 'g' ..) working??

2007-06-13 Thread David Tremouilles
Hi, After quite some time (hours) digging source code, I finally understood how matplotlib and pylab handle the key pressed event. Finally I borrowed a piece if code from the FigureManagerBase class in backend_base.py and was successfull in reworking it to do what I expect :-) In attachement you

[Matplotlib-users] Unexplained label on plot

2007-06-13 Thread Stuart Yarrow
Hi All, An extra label is appearing on the plot I'm generating. I wonder if anyone could explain what it means/how to get rid of it? The plot is available at http://test.outpost.org.uk/example.png - the unexplained label is the '+4.05674e7' in the upper right hand corner. This value doesn't appe