Skip to content

Interface: SurfaceTraceContoursZ ​

Contour lines of constant z: drawn in the surface's shader (exact at any zoom), and projected onto the walls with project.

Properties ​

PropertyTypeDefault valueDescription
color?string"#444"Color of the contour lines.
end?numberundefinedLast contour level (with start and size). Default: the z axis ticks.
highlight?booleantrueDraw the contour line of the hovered point's z value while hovering.
highlightcolor?string"#444"Color of the highlight line.
highlightwidth?number2Width of the highlight line, px. Range: 1 – 16
project?SurfaceTraceContoursZProjectundefinedProjections of the contour lines (and highlight lines) onto the axis walls.
show?booleanfalseDraw contour lines of the heights (z) on the surface.
size?numberundefinedStep between contour levels (with start and end). Default: the z axis ticks. Minimum: 0
start?numberundefinedFirst contour level (with end and size). Default: the z axis ticks.
usecolormap?booleanfalseColor the contour lines with the surface's colorscale instead of color.
width?number2Width of the contour lines, px. Range: 1 – 16

Released under the MIT License.