On Fri, Jul 10, 2009 at 3:09 PM, Michael Lerner<mgler...@gmail.com> wrote: > Hi, > > I was looking at the autocorrelation of a time series recently and it was > useful to scale the x-axis (i.e. multiply lags by the timestep of my actual > data). It's a trivial change, but it might be useful for others. Here's a > standalone version of axes.acorr: >
I'd be happy to consider a patch to acorr/xcorr ro add a new kwarg, but is should be submitted as an svn patch which also includes documentation. I don't think we need to add a new function to support this, just enhance the existing ones. See http://matplotlib.sourceforge.net/faq/howto_faq.html#submit-a-patch Thanks, JDH > def scaledacorr(x, stepsize=1, normed=False, detrend=mlab.detrend_none, > usevlines=False, maxlags=None, **kwargs): > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users