diff --git a/src/plots/gl3d/layout/convert.js b/src/plots/gl3d/layout/convert.js index 4d43951cd92..0940fd528b3 100644 --- a/src/plots/gl3d/layout/convert.js +++ b/src/plots/gl3d/layout/convert.js @@ -18,43 +18,43 @@ var arrayCopy1D = arrtools.copy1D; var AXES_NAMES = ['xaxis', 'yaxis', 'zaxis']; function AxesOptions() { - this.bounds = [ [-10, -10, -10], - [ 10, 10, 10] ]; - - this.ticks = [ [], [], [] ]; - this.tickEnable = [ true, true, true ]; - this.tickFont = [ 'sans-serif', 'sans-serif', 'sans-serif' ]; - this.tickSize = [ 12, 12, 12 ]; - this.tickAngle = [ 0, 0, 0 ]; - this.tickColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; - this.tickPad = [ 18, 18, 18 ]; - - this.labels = [ 'x', 'y', 'z' ]; - this.labelEnable = [ true, true, true ]; - this.labelFont = ['Open Sans','Open Sans','Open Sans']; - this.labelSize = [ 20, 20, 20 ]; - this.labelAngle = [ 0, 0, 0 ]; - this.labelColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; - this.labelPad = [ 30, 30, 30 ]; - - this.lineEnable = [ true, true, true ]; - this.lineMirror = [ false, false, false ]; - this.lineWidth = [ 1, 1, 1 ]; - this.lineColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.bounds = [ [-10, -10, -10], + [ 10, 10, 10] ]; + + this.ticks = [ [], [], [] ]; + this.tickEnable = [ true, true, true ]; + this.tickFont = [ 'sans-serif', 'sans-serif', 'sans-serif' ]; + this.tickSize = [ 12, 12, 12 ]; + this.tickAngle = [ 0, 0, 0 ]; + this.tickColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.tickPad = [ 18, 18, 18 ]; + + this.labels = [ 'x', 'y', 'z' ]; + this.labelEnable = [ true, true, true ]; + this.labelFont = ['Open Sans','Open Sans','Open Sans']; + this.labelSize = [ 20, 20, 20 ]; + this.labelAngle = [ 0, 0, 0 ]; + this.labelColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.labelPad = [ 30, 30, 30 ]; + + this.lineEnable = [ true, true, true ]; + this.lineMirror = [ false, false, false ]; + this.lineWidth = [ 1, 1, 1 ]; + this.lineColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; this.lineTickEnable = [ true, true, true ]; this.lineTickMirror = [ false, false, false ]; this.lineTickLength = [ 10, 10, 10 ]; - this.lineTickWidth = [ 1, 1, 1 ]; - this.lineTickColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.lineTickWidth = [ 1, 1, 1 ]; + this.lineTickColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; - this.gridEnable = [ true, true, true ]; - this.gridWidth = [ 1, 1, 1 ]; - this.gridColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.gridEnable = [ true, true, true ]; + this.gridWidth = [ 1, 1, 1 ]; + this.gridColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; - this.zeroEnable = [ true, true, true ]; - this.zeroLineColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; - this.zeroLineWidth = [ 2, 2, 2 ]; + this.zeroEnable = [ true, true, true ]; + this.zeroLineColor = [ [0,0,0,1], [0,0,0,1], [0,0,0,1] ]; + this.zeroLineWidth = [ 2, 2, 2 ]; this.backgroundEnable = [ true, true, true ]; this.backgroundColor = [ [0.8, 0.8, 0.8, 0.5], @@ -62,9 +62,9 @@ function AxesOptions() { [0.8, 0.8, 0.8, 0.5] ]; // some default values are stored for applying model transforms - this._defaultTickPad = arrayCopy1D(this.tickPad); - this._defaultLabelPad = arrayCopy1D(this.labelPad); - this._defaultLineTickLength = arrayCopy1D(this.lineTickLength); + this._defaultTickPad = arrayCopy1D(this.tickPad); + this._defaultLabelPad = arrayCopy1D(this.labelPad); + this._defaultLineTickLength = arrayCopy1D(this.lineTickLength); } var proto = AxesOptions.prototype; @@ -78,27 +78,30 @@ proto.merge = function(sceneLayout) { opts.labels[i] = convertHTML(axes.title); if ('titlefont' in axes) { if (axes.titlefont.color) opts.labelColor[i] = str2RgbaArray(axes.titlefont.color); - if (axes.titlefont.family) opts.labelFont[i] = axes.titlefont.family; - if (axes.titlefont.size) opts.labelSize[i] = axes.titlefont.size; + if (axes.titlefont.family) opts.labelFont[i] = axes.titlefont.family; + if (axes.titlefont.size) opts.labelSize[i] = axes.titlefont.size; } /////// LINES //////// if ('showline' in axes) opts.lineEnable[i] = axes.showline; - if ('linecolor' in axes) opts.lineColor[i] = str2RgbaArray(axes.linecolor); - if ('linewidth' in axes) opts.lineWidth[i] = axes.linewidth; + if ('linecolor' in axes) opts.lineColor[i] = str2RgbaArray(axes.linecolor); + if ('linewidth' in axes) opts.lineWidth[i] = axes.linewidth; if ('showgrid' in axes) opts.gridEnable[i] = axes.showgrid; - if ('gridcolor' in axes) opts.gridColor[i] = str2RgbaArray(axes.gridcolor); - if ('gridwidth' in axes) opts.gridWidth[i] = axes.gridwidth; + if ('gridcolor' in axes) opts.gridColor[i] = str2RgbaArray(axes.gridcolor); + if ('gridwidth' in axes) opts.gridWidth[i] = axes.gridwidth; - if ('zeroline' in axes) opts.zeroEnable[i] = axes.zeroline; + // Remove zeroline if axis type is log + // otherwise the zeroline is incorrectly drawn at 1 on log axes + if (axes.type === 'log') opts.zeroEnable[i] = false; + else if ('zeroline' in axes) opts.zeroEnable[i] = axes.zeroline; if ('zerolinecolor' in axes) opts.zeroLineColor[i] = str2RgbaArray(axes.zerolinecolor); if ('zerolinewidth' in axes) opts.zeroLineWidth[i] = axes.zerolinewidth; //////// TICKS ///////// /// tick lines if ('ticks' in axes && !!axes.ticks) opts.lineTickEnable[i] = true; - else opts.lineTickEnable[i] = false; + else opts.lineTickEnable[i] = false; if ('ticklen' in axes) { opts.lineTickLength[i] = opts._defaultLineTickLength[i] = axes.ticklen; @@ -111,9 +114,9 @@ proto.merge = function(sceneLayout) { //// tick labels if ('showticklabels' in axes) opts.tickEnable[i] = axes.showticklabels; if ('tickfont' in axes) { - if (axes.tickfont.color) opts.tickColor[i] = str2RgbaArray(axes.tickfont.color); - if (axes.tickfont.family) opts.tickFont[i] = axes.tickfont.family; - if (axes.tickfont.size) opts.tickSize[i] = axes.tickfont.size; + if (axes.tickfont.color) opts.tickColor[i] = str2RgbaArray(axes.tickfont.color); + if (axes.tickfont.family) opts.tickFont[i] = axes.tickfont.family; + if (axes.tickfont.size) opts.tickSize[i] = axes.tickfont.size; } if ('mirror' in axes) { @@ -131,8 +134,8 @@ proto.merge = function(sceneLayout) { ////// grid background if ('showbackground' in axes && axes.showbackground !== false) { - opts.backgroundEnable[i] = true; - opts.backgroundColor[i] = str2RgbaArray(axes.backgroundcolor); + opts.backgroundEnable[i] = true; + opts.backgroundColor[i] = str2RgbaArray(axes.backgroundcolor); } else opts.backgroundEnable[i] = false; } }; diff --git a/src/plots/gl3d/layout/tick_marks.js b/src/plots/gl3d/layout/tick_marks.js index edf103ae592..7a0bcada31f 100644 --- a/src/plots/gl3d/layout/tick_marks.js +++ b/src/plots/gl3d/layout/tick_marks.js @@ -49,8 +49,8 @@ function computeTickMarks(scene) { if (Math.abs(axes._length) === Infinity) { ticks[i] = []; } else { - axes.range[0] = (glRange[i].lo + scene.dataCenter[i]) / scene.dataScale[i]; - axes.range[1] = (glRange[i].hi + scene.dataCenter[i]) / scene.dataScale[i]; + axes.range[0] = (glRange[i].lo) / scene.dataScale[i]; + axes.range[1] = (glRange[i].hi) / scene.dataScale[i]; axes._m = 1.0 / (scene.dataScale[i] * glRange[i].pixelsPerDataUnit); if(axes.range[0] === axes.range[1]) { @@ -69,7 +69,7 @@ function computeTickMarks(scene) { } var dataTicks = Plotly.Axes.calcTicks(axes); for(var j=0; j dataBounds[1][j]) { dataScale[j] = 1.0; - dataCenter[j] = 0.0; } else { if(dataBounds[1][j] === dataBounds[0][j]) { dataScale[j] = 1.0; } else { dataScale[j] = 1.0/(dataBounds[1][j] - dataBounds[0][j]); } - dataCenter[j] = 0.5 * (dataBounds[0][j] + dataBounds[1][j]) * dataScale[j]; } } - //Save scale and offset factors + //Save scale this.dataScale = dataScale; - this.dataCenter = dataCenter; //Update traces for(var i = 0; i < sceneData.length; ++i) { @@ -422,9 +417,9 @@ trace_id_loop: for(j = 0; j < this.glplot.objects.length; ++j) { var objBounds = this.glplot.objects[j].bounds; sceneBounds[0][i] = Math.min(sceneBounds[0][i], - (objBounds[0][i] + dataCenter[i]) / dataScale[i]); + objBounds[0][i] / dataScale[i]); sceneBounds[1][i] = Math.max(sceneBounds[1][i], - (objBounds[1][i] + dataCenter[i]) / dataScale[i]); + objBounds[1][i] / dataScale[i]); } if('rangemode' in axis && axis.rangemode === 'tozero') { sceneBounds[0][i] = Math.min(sceneBounds[0][i], 0); @@ -450,8 +445,8 @@ trace_id_loop: axisDataRange[i] = sceneBounds[1][i] - sceneBounds[0][i]; //Update plot bounds - this.glplot.bounds[0][i] = sceneBounds[0][i] * dataScale[i] - dataCenter[i]; - this.glplot.bounds[1][i] = sceneBounds[1][i] * dataScale[i] - dataCenter[i]; + this.glplot.bounds[0][i] = sceneBounds[0][i] * dataScale[i]; + this.glplot.bounds[1][i] = sceneBounds[1][i] * dataScale[i]; } var axesScaleRatio = [1, 1, 1]; diff --git a/src/traces/mesh3d/convert.js b/src/traces/mesh3d/convert.js index a100a13fa18..d75b5af1091 100644 --- a/src/traces/mesh3d/convert.js +++ b/src/traces/mesh3d/convert.js @@ -76,15 +76,15 @@ proto.update = function(data) { this.data = data; //Unpack position data - function toDataCoords(axis, coord, scale, offset) { + function toDataCoords(axis, coord, scale) { return coord.map(function(x) { - return axis.d2l(x) * scale - offset; + return axis.d2l(x) * scale; }); } var positions = zip3( - toDataCoords(layout.xaxis, data.x, scene.dataScale[0], scene.dataCenter[0]), - toDataCoords(layout.yaxis, data.y, scene.dataScale[1], scene.dataCenter[1]), - toDataCoords(layout.zaxis, data.z, scene.dataScale[2], scene.dataCenter[2])); + toDataCoords(layout.xaxis, data.x, scene.dataScale[0]), + toDataCoords(layout.yaxis, data.y, scene.dataScale[1]), + toDataCoords(layout.zaxis, data.z, scene.dataScale[2])); var cells; diff --git a/src/traces/scatter3d/convert.js b/src/traces/scatter3d/convert.js index 6bd61f5d8ad..159389a2d53 100644 --- a/src/traces/scatter3d/convert.js +++ b/src/traces/scatter3d/convert.js @@ -169,7 +169,6 @@ function convertPlotlyOptions(scene, data) { points = [], sceneLayout = scene.fullSceneLayout, scaleFactor = scene.dataScale, - offset = scene.dataCenter, xaxis = sceneLayout.xaxis, yaxis = sceneLayout.yaxis, zaxis = sceneLayout.zaxis, @@ -184,9 +183,9 @@ function convertPlotlyOptions(scene, data) { //Convert points for (i = 0; i < len; i++) { // sanitize numbers and apply transforms based on axes.type - xc = xaxis.d2l(x[i]) * scaleFactor[0] - offset[0]; - yc = yaxis.d2l(y[i]) * scaleFactor[1] - offset[1]; - zc = zaxis.d2l(z[i]) * scaleFactor[2] - offset[2]; + xc = xaxis.d2l(x[i]) * scaleFactor[0]; + yc = yaxis.d2l(y[i]) * scaleFactor[1]; + zc = zaxis.d2l(z[i]) * scaleFactor[2]; points[i] = [xc, yc, zc]; } diff --git a/src/traces/surface/convert.js b/src/traces/surface/convert.js index 48099d27eab..e6b0c1a84a9 100644 --- a/src/traces/surface/convert.js +++ b/src/traces/surface/convert.js @@ -52,9 +52,9 @@ proto.handlePick = function(selection) { var sceneLayout = this.scene.fullSceneLayout; selection.dataCoordinate = [ - sceneLayout.xaxis.d2l(traceCoordinate[0])*this.scene.dataScale[0] - this.scene.dataCenter[0], - sceneLayout.yaxis.d2l(traceCoordinate[1])*this.scene.dataScale[1] - this.scene.dataCenter[1], - sceneLayout.zaxis.d2l(traceCoordinate[2])*this.scene.dataScale[2] - this.scene.dataCenter[2] + sceneLayout.xaxis.d2l(traceCoordinate[0])*this.scene.dataScale[0], + sceneLayout.yaxis.d2l(traceCoordinate[1])*this.scene.dataScale[1], + sceneLayout.zaxis.d2l(traceCoordinate[2])*this.scene.dataScale[2] ]; var text = this.data.text; @@ -165,7 +165,6 @@ proto.update = function(data) { yaxis = sceneLayout.yaxis, zaxis = sceneLayout.zaxis, scaleFactor = scene.dataScale, - offset = scene.dataCenter, xlen = z[0].length, ylen = z.length, coords = [ @@ -188,30 +187,30 @@ proto.update = function(data) { * which is the transpose of 'gl-surface-plot'. */ fill(coords[2], function(row, col) { - return zaxis.d2l(z[col][row]) * scaleFactor[2] - offset[2]; + return zaxis.d2l(z[col][row]) * scaleFactor[2]; }); // coords x if (Array.isArray(x[0])) { fill(xc, function(row, col) { - return xaxis.d2l(x[col][row]) * scaleFactor[0] - offset[0]; + return xaxis.d2l(x[col][row]) * scaleFactor[0]; }); } else { // ticks x fill(xc, function(row) { - return xaxis.d2l(x[row]) * scaleFactor[0] - offset[0]; + return xaxis.d2l(x[row]) * scaleFactor[0]; }); } // coords y if (Array.isArray(y[0])) { fill(yc, function(row, col) { - return yaxis.d2l(y[col][row]) * scaleFactor[1] - offset[1]; + return yaxis.d2l(y[col][row]) * scaleFactor[1]; }); } else { // ticks y fill(yc, function(row, col) { - return yaxis.d2l(y[col]) * scaleFactor[1] - offset[1]; + return yaxis.d2l(y[col]) * scaleFactor[1]; }); } diff --git a/test/image/baselines/gl3d_autocolorscale.png b/test/image/baselines/gl3d_autocolorscale.png index bde046b3a7e..d026d65a77b 100644 Binary files a/test/image/baselines/gl3d_autocolorscale.png and b/test/image/baselines/gl3d_autocolorscale.png differ diff --git a/test/image/baselines/gl3d_autorange-zero.png b/test/image/baselines/gl3d_autorange-zero.png index 50aa0c1d59e..2f782e672bf 100644 Binary files a/test/image/baselines/gl3d_autorange-zero.png and b/test/image/baselines/gl3d_autorange-zero.png differ diff --git a/test/image/baselines/gl3d_bunny-hull.png b/test/image/baselines/gl3d_bunny-hull.png index aeda74a60b3..270f0ae1b12 100644 Binary files a/test/image/baselines/gl3d_bunny-hull.png and b/test/image/baselines/gl3d_bunny-hull.png differ diff --git a/test/image/baselines/gl3d_bunny.png b/test/image/baselines/gl3d_bunny.png index 8c2940123b8..33e87963c67 100644 Binary files a/test/image/baselines/gl3d_bunny.png and b/test/image/baselines/gl3d_bunny.png differ diff --git a/test/image/baselines/gl3d_chrisp-nan-1.png b/test/image/baselines/gl3d_chrisp-nan-1.png index 6640551da09..c618ea38803 100644 Binary files a/test/image/baselines/gl3d_chrisp-nan-1.png and b/test/image/baselines/gl3d_chrisp-nan-1.png differ diff --git a/test/image/baselines/gl3d_contour-lines.png b/test/image/baselines/gl3d_contour-lines.png index 3b72f9c26b6..70dbeaf99b8 100644 Binary files a/test/image/baselines/gl3d_contour-lines.png and b/test/image/baselines/gl3d_contour-lines.png differ diff --git a/test/image/baselines/gl3d_convex-hull.png b/test/image/baselines/gl3d_convex-hull.png index 8c2940123b8..33e87963c67 100644 Binary files a/test/image/baselines/gl3d_convex-hull.png and b/test/image/baselines/gl3d_convex-hull.png differ diff --git a/test/image/baselines/gl3d_cufflinks.png b/test/image/baselines/gl3d_cufflinks.png index 58673475edc..c5d35b57f2e 100644 Binary files a/test/image/baselines/gl3d_cufflinks.png and b/test/image/baselines/gl3d_cufflinks.png differ diff --git a/test/image/baselines/gl3d_delaunay.png b/test/image/baselines/gl3d_delaunay.png index 21bd80eb1cf..4fbd349c230 100644 Binary files a/test/image/baselines/gl3d_delaunay.png and b/test/image/baselines/gl3d_delaunay.png differ diff --git a/test/image/baselines/gl3d_errorbars_sqrt.png b/test/image/baselines/gl3d_errorbars_sqrt.png index 95cbf64eab4..7bc5cbd90e3 100644 Binary files a/test/image/baselines/gl3d_errorbars_sqrt.png and b/test/image/baselines/gl3d_errorbars_sqrt.png differ diff --git a/test/image/baselines/gl3d_errorbars_zx.png b/test/image/baselines/gl3d_errorbars_zx.png index 9a1cb7f9ed7..a2dfeb22621 100644 Binary files a/test/image/baselines/gl3d_errorbars_zx.png and b/test/image/baselines/gl3d_errorbars_zx.png differ diff --git a/test/image/baselines/gl3d_errorbars_zy.png b/test/image/baselines/gl3d_errorbars_zy.png index cc3dec9cb93..dbd1a347c7c 100644 Binary files a/test/image/baselines/gl3d_errorbars_zy.png and b/test/image/baselines/gl3d_errorbars_zy.png differ diff --git a/test/image/baselines/gl3d_ibm-plot.png b/test/image/baselines/gl3d_ibm-plot.png index d2baae41357..97db98cac33 100644 Binary files a/test/image/baselines/gl3d_ibm-plot.png and b/test/image/baselines/gl3d_ibm-plot.png differ diff --git a/test/image/baselines/gl3d_log-axis-big.png b/test/image/baselines/gl3d_log-axis-big.png index abb3dd3089b..7c65fdbbd4b 100644 Binary files a/test/image/baselines/gl3d_log-axis-big.png and b/test/image/baselines/gl3d_log-axis-big.png differ diff --git a/test/image/baselines/gl3d_log-axis.png b/test/image/baselines/gl3d_log-axis.png index d1f9cead29d..c2230fb006e 100644 Binary files a/test/image/baselines/gl3d_log-axis.png and b/test/image/baselines/gl3d_log-axis.png differ diff --git a/test/image/baselines/gl3d_marker-arrays.png b/test/image/baselines/gl3d_marker-arrays.png index 22aea0e3065..4c9f244e107 100644 Binary files a/test/image/baselines/gl3d_marker-arrays.png and b/test/image/baselines/gl3d_marker-arrays.png differ diff --git a/test/image/baselines/gl3d_marker-color.png b/test/image/baselines/gl3d_marker-color.png index 4deaef6d03c..a3e754340aa 100644 Binary files a/test/image/baselines/gl3d_marker-color.png and b/test/image/baselines/gl3d_marker-color.png differ diff --git a/test/image/baselines/gl3d_mirror-ticks.png b/test/image/baselines/gl3d_mirror-ticks.png index de8ea905f7b..8ad8963efab 100644 Binary files a/test/image/baselines/gl3d_mirror-ticks.png and b/test/image/baselines/gl3d_mirror-ticks.png differ diff --git a/test/image/baselines/gl3d_multi-scene.png b/test/image/baselines/gl3d_multi-scene.png index 688e199dcce..889fb3939f2 100644 Binary files a/test/image/baselines/gl3d_multi-scene.png and b/test/image/baselines/gl3d_multi-scene.png differ diff --git a/test/image/baselines/gl3d_nan-holes.png b/test/image/baselines/gl3d_nan-holes.png index d2c25f618a4..1f304e17bd1 100644 Binary files a/test/image/baselines/gl3d_nan-holes.png and b/test/image/baselines/gl3d_nan-holes.png differ diff --git a/test/image/baselines/gl3d_opacity-scaling-spikes.png b/test/image/baselines/gl3d_opacity-scaling-spikes.png index b86baff2a9a..6f87d3439b8 100644 Binary files a/test/image/baselines/gl3d_opacity-scaling-spikes.png and b/test/image/baselines/gl3d_opacity-scaling-spikes.png differ diff --git a/test/image/baselines/gl3d_opacity-surface.png b/test/image/baselines/gl3d_opacity-surface.png index d826326ac9c..6cadf752fb1 100644 Binary files a/test/image/baselines/gl3d_opacity-surface.png and b/test/image/baselines/gl3d_opacity-surface.png differ diff --git a/test/image/baselines/gl3d_projection-traces.png b/test/image/baselines/gl3d_projection-traces.png index b25c17aa4f3..a6057638200 100644 Binary files a/test/image/baselines/gl3d_projection-traces.png and b/test/image/baselines/gl3d_projection-traces.png differ diff --git a/test/image/baselines/gl3d_ribbons.png b/test/image/baselines/gl3d_ribbons.png index 6014e11be31..fc8b924cfe6 100644 Binary files a/test/image/baselines/gl3d_ribbons.png and b/test/image/baselines/gl3d_ribbons.png differ diff --git a/test/image/baselines/gl3d_scatter-date.png b/test/image/baselines/gl3d_scatter-date.png index 249e3b29bcf..2a60ee8b50e 100644 Binary files a/test/image/baselines/gl3d_scatter-date.png and b/test/image/baselines/gl3d_scatter-date.png differ diff --git a/test/image/baselines/gl3d_scatter3d-colorscale.png b/test/image/baselines/gl3d_scatter3d-colorscale.png index 9197d8bebaa..f9775860d5a 100644 Binary files a/test/image/baselines/gl3d_scatter3d-colorscale.png and b/test/image/baselines/gl3d_scatter3d-colorscale.png differ diff --git a/test/image/baselines/gl3d_snowden.png b/test/image/baselines/gl3d_snowden.png index 301066604fd..a5a7e453928 100644 Binary files a/test/image/baselines/gl3d_snowden.png and b/test/image/baselines/gl3d_snowden.png differ diff --git a/test/image/baselines/gl3d_surface-lighting.png b/test/image/baselines/gl3d_surface-lighting.png index 59e87515859..bc4decb7ede 100644 Binary files a/test/image/baselines/gl3d_surface-lighting.png and b/test/image/baselines/gl3d_surface-lighting.png differ diff --git a/test/image/baselines/gl3d_text-weirdness.png b/test/image/baselines/gl3d_text-weirdness.png index 2a59f3e6f24..aa5ff8cb4aa 100644 Binary files a/test/image/baselines/gl3d_text-weirdness.png and b/test/image/baselines/gl3d_text-weirdness.png differ diff --git a/test/image/baselines/gl3d_triangle.png b/test/image/baselines/gl3d_triangle.png index 8f8dac99889..dc40d8e4c04 100644 Binary files a/test/image/baselines/gl3d_triangle.png and b/test/image/baselines/gl3d_triangle.png differ diff --git a/test/image/baselines/gl3d_wire-surface.png b/test/image/baselines/gl3d_wire-surface.png index 35a8f6113bc..69654e87b84 100644 Binary files a/test/image/baselines/gl3d_wire-surface.png and b/test/image/baselines/gl3d_wire-surface.png differ diff --git a/test/image/baselines/gl3d_xy-defined-ticks.png b/test/image/baselines/gl3d_xy-defined-ticks.png index 2ef4875ff10..7c6fedb84fc 100644 Binary files a/test/image/baselines/gl3d_xy-defined-ticks.png and b/test/image/baselines/gl3d_xy-defined-ticks.png differ diff --git a/test/image/baselines/gl3d_z-range.png b/test/image/baselines/gl3d_z-range.png index a19e478dfe0..1fd1d5ecbbd 100644 Binary files a/test/image/baselines/gl3d_z-range.png and b/test/image/baselines/gl3d_z-range.png differ