diff --git a/docs/examples/colormap-tester.html b/docs/examples/colormap-tester.html index aa3415d..8d2bd3a 100644 --- a/docs/examples/colormap-tester.html +++ b/docs/examples/colormap-tester.html @@ -22,7 +22,7 @@ var maps = Object.keys( colormaps ); MathCell( id, [ { type: 'slider', max: maps.length - 1, default: 1, step: 1, - name: 'n', label: 'n' } ] ); + name: 'n', label: 'Index:' } ] ); parent.update = function( id ) { @@ -34,7 +34,7 @@ plot( x => f(x).g, [0,1], { color: 'green' } ), plot( x => f(x).b, [0,1], { color: 'blue' } ) ]; - var config = { type: 'svg', axesLabels: [ '', maps[n] ] }; + var config = { type: 'svg', axesLabels: [ '', maps[n] ], includeOrigin: true }; evaluate( id, data, config );