Skip to content

Function: defaultNormalScale() ​

ts
function defaultNormalScale(positions): Vec3;

Experimental

Default normal scale: each axis' finite extent mapped to 2 (Plotly's scene cube), 1 for flat or empty axes.

Parameters ​

ParameterType
positionsArrayLike<number>

Returns ​

Vec3

Released under the MIT License.