From 1bce7797dcad399268ad3c24daaadc84483a0359 Mon Sep 17 00:00:00 2001 From: paulmasson Date: Sat, 2 May 2020 18:29:34 -0700 Subject: [PATCH] Update example --- docs/examples/colormap-tester.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 );