Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-08-25 Thread Paul Ray
Hi, I just installed matplotlib 0.99.0 and I see that this problem is still there. The command plot(a,ls='steps') is equivalent to plot(a,ls='steps-pre') and both cause the first value of the array to NOT be plotted. This is REALLY not what should happen when one plots an array with several

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-07-19 Thread John Hunter
On Fri, Jul 17, 2009 at 5:15 PM, Paul Ray wrote: > > > Ryan Krauss-2 wrote: >> >> RTFM: >> >> plot(t,y, drawstyle='steps-post') >> >> > > Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have > swapped definitions. > Here is what the docs say: >    *where*: [ 'pre' | 'post' | '

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-07-19 Thread Paul Ray
Ryan Krauss-2 wrote: > > RTFM: > > plot(t,y, drawstyle='steps-post') > > Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have swapped definitions. Here is what the docs say: *where*: [ 'pre' | 'post' | 'mid' ] If 'pre', the interval from x[i] to x[i+1] has le

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-05-15 Thread Ryan Krauss
RTFM: plot(t,y, drawstyle='steps-post') This was really helpful: http://matplotlib.sourceforge.net/examples/pylab_examples/set_and_get.html especially >>> line, = plot([1,2,3]) >>> setp(line, linestyle='--') On Fri, May 15, 2009 at 6:52 PM, Ryan Krauss wrote: > Oh, and in case it matters

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-05-15 Thread Ryan Krauss
Oh, and in case it matters I am running In [36]: matplotlib.__version__ Out[36]: '0.98.5.2' on Ubuntu 9.04 (with the rather lame name of Jaunty Jackolope). On Fri, May 15, 2009 at 6:51 PM, Ryan Krauss wrote: > I think I used to use plot with linestyle='steps' to plot data for > zero-order hold