Re: [matplotlib-devel] patch: step function plotting

2007-08-21 Thread Eric Firing
Manuel, Thank you. I will look at this ASAP, but it might not be right away. Just to be safe, if you haven't heard from me by Friday send me a message off the list. Manuel Metz wrote: > Okay, I changed from npy.asarray -> npy.ma.array and checked that it > works. I also added a doc. The patch

Re: [matplotlib-devel] patch: step function plotting

2007-08-21 Thread Manuel Metz
Okay, I changed from npy.asarray -> npy.ma.array and checked that it works. I also added a doc. The patch as well as an example code and its output are attached. Please note that the example actually call ax.step directly instead of using the pylab interface; I guess this has to be added (boil

Re: [matplotlib-devel] patch: step function plotting

2007-08-20 Thread Eric Firing
Manuel Metz wrote: > May I ask again: Is there any interest in a step-plotting function? Yes, so thanks for taking the initiative and for being persistent. > > If so, who will commit the patch? Do I have to add more myself > (documentation for sure needs to be added, what else ?) Please add a d

Re: [matplotlib-devel] patch: step function plotting

2007-08-20 Thread Manuel Metz
May I ask again: Is there any interest in a step-plotting function? If so, who will commit the patch? Do I have to add more myself (documentation for sure needs to be added, what else ?) Manuel Manuel Metz wrote: > Hi, > okay, I have added a keyword 'where' as suggested. I also now changed > t

Re: [matplotlib-devel] patch: step function plotting

2007-08-15 Thread Manuel Metz
Hi, okay, I have added a keyword 'where' as suggested. I also now changed the way the incoming data is converted. I took this from the axes.pie() function. I don't know much about the unit types yet :-( Concerning masked arrays: Do I have to consider something special there? Manuel Ted Drain

Re: [matplotlib-devel] patch: step function plotting

2007-08-14 Thread Ted Drain
At 10:36 AM 8/14/2007, Eric Firing wrote: Ted Drain wrote: Manuel, We do plots like this all the time. One thing we've found that's nice to have is a keyword that controls when the increase in y happens. We use a step style keyword that can be 'pre' (go up then right), 'post' (go right then

Re: [matplotlib-devel] patch: step function plotting

2007-08-14 Thread Eric Firing
Ted Drain wrote: > Manuel, > We do plots like this all the time. One thing we've found that's nice > to have is a keyword that controls when the increase in y happens. We > use a step style keyword that can be 'pre' (go up then right), 'post' > (go right then up), and 'mid' (right 0.5, up, rig

Re: [matplotlib-devel] patch: step function plotting

2007-08-14 Thread Ted Drain
Manuel, We do plots like this all the time. One thing we've found that's nice to have is a keyword that controls when the increase in y happens. We use a step style keyword that can be 'pre' (go up then right), 'post' (go right then up), and 'mid' (right 0.5, up, right 0.5). Regarding your