Re: [Matplotlib-users] Stair plot

2011-02-10 Thread Alejandro Weinstein
On Wed, Feb 9, 2011 at 1:23 PM, Paul Ivanov wrote: > no need for interpolation - just use plt.step: Thanks! Just what I need it. Any reason for the step function not appearing in the main Matplotlib page (http://matplotlib.sourceforge.net/)? Alejandro. -

Re: [Matplotlib-users] Stair plot

2011-02-09 Thread Paul Ivanov
Alejandro Weinstein, on 2011-02-09 13:01, wrote: > Hi: > > Any suggestion for making a stair plot in Matplotlib (like the stairs > function in Matlab)? > > The attached figure is the output of the following Matlab commands: > > x = 0:10; > stairs(x); > > I guess it is a matter of using a zero-

Re: [Matplotlib-users] Stair plot

2011-02-09 Thread Alan G Isaac
You could use econpy's step_pts function: http://code.google.com/p/econpy/source/browse/trunk/pytrix/pytrix.py fwiw, Alan Isaac -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory