Black Lives Matter. Please consider donating to Black Girls Code today.

3D Surface Accuracy

Hi guys,

I started using 3D plots with Plotly JS and noticed several inconsistencies between a rendered surface and data it uses as input.

Using the “Mnt Bruno” dataset, the first inconsistency is that the rendered surface does not seem to actually ‘reach’ Z values from the data set (the peak on the surface is below the Z value of 372.8826 outlined by the ‘wire’ on the data label):

image

Another inconsistency is that a Plotly’s surface seems more ‘jagged’ than the original data or even Excel’s surface built with same data (see the peaks, for example):

Plotly:
image
Excel Surface

Can someone please explain why I see these inconsistencies?

Thanks!

Reported in https://github.com/plotly/plotly.js/issues/2713 and fixed by https://github.com/plotly/plotly.js/pull/3281.