[pstricks] stepcurve

Doris Wagner doris.wagner at mac.com
Wed May 28 21:41:57 CEST 2008

hi list,

I'm trying to plot a stepcurve to illustrate an approximation. for  
example, I  want to have 10 steps, each 1 cm wide. I tried this:

\psplot[plotpoints=10,barwidth=1cm]{0}{10}{1.1 x exp}

this looks good, but: I want the bars not to be centered at the  
function-points, but at the left or right of them.
And I'd like to have no vertical lines between the bars, only the  
first left and the last right one.

any suggestions?

More information about the PSTricks mailing list