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-order hold interpolation rather
than linear interpolation between the points in the plot command, but
I haven't find how to do that.

Alejandro.

<<attachment: stairs.png>>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to