Step function II
From JSXGraph Wiki
This is an example for the element stepfunction. Here, the steps are drawn. Step functions can also be realized as function graphs, where the steps are invisible, see Step function.
The underlying JavaScript code
var board = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,8,8,-5], axis:true});