Re: [Matplotlib-users] trig plot from event?

2007-03-22 Thread Stephen George
Creating a 'simplified' example (not really) to demonstrate the problem Zoom in on one of the constant speed movements.(upper graph) psd (lower graph) will still be showing spectrum of whole data file. click 'n release any mouse button in the upper graph, and only then will the lower graph re

Re: [Matplotlib-users] imshow, matshow coordinate system

2007-03-22 Thread Richard Brown
On 22/03/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Richard Brown wrote: > > Hi there, > > > > I'm pretty new to python; I'm in the process of switching from Matlab. > > I do quite a bit of image processing in my research, and while > > pylab/matplotlib seems to be a great plotting library, some

[Matplotlib-users] interactive plots again

2007-03-22 Thread Robert Cimrman
Maybe I have reinvented the wheel, but I find the attached code snippet very useful. I have modified a bit the recipe at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65222 to be used in the following situation: You plot (interactively) something in a main program, which than works heavi

[Matplotlib-users] tight axis in OO interface

2007-03-22 Thread Robert Cimrman
Hello, I am using the OO interface to plot some data in logarithmic y-scale. The data displayed are almost constant but not entirely, see the attached image. In order to see the details, I would like to do something like 'axis( 'image' )' for the yaxis. I have tried to play with axes.set_ylim(), a

Re: [Matplotlib-users] cumulative distribution function

2007-03-22 Thread Mark Bakker
This will give you a smooth line for your cumulative distribution function: x = randn(1) y = sort(x) plot(y,linspace(0,1,1)) Mark - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay