3D Traces
-
The data visualized as scatter point or lines in 3D dimension is set in
x
,y
,z
.Text (appearing either on the chart or on hover only) is via
See moretext
. Bubble charts are achieved by settingmarker.size
and/ormarker.color
Projections are achieved viaprojection
. Surface fills are achieved viasurfaceaxis
. -
The data the describes the coordinates of the surface is set in
z
.Data in
See morez
should be a {2D array}. Coordinates inx
andy
can either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided inx
andy
, the x and y coordinates are assumed to be linear starting at 0 with a unit step. The color scale corresponds to thez
values by default. For custom color scales, usesurfacecolor
which should be a {2D array}, where its bounds can be controlled usingcmin
andcmax
. -
Draws isosurfaces between iso-min and iso-max values with coordinates given by four 1-dimensional arrays containing the
value
,x
,y
andz
of every vertex of a uniform or non-uniform 3-D grid.Horizontal or vertical slices, caps as well as spaceframe between iso-min and iso-max values could also be drawn using this trace.
See more -
Draws volume trace between iso-min and iso-max values with coordinates given by four 1-dimensional arrays containing the
value
,x
,y
andz
of every vertex of a uniform or non-uniform 3-D grid.Horizontal or vertical slices, caps as well as spaceframe between iso-min and iso-max values could also be drawn using this trace.
See more -
Use a streamtube trace to visualize flow in a vector field.
Specify a vector field using 6 1D arrays of equal length, 3 position arrays
See morex
,y
andz
and 3 vector component arraysu
,v
, andw
. By default, the tubes’ starting positions will be cut from the vector field’s x-z plane at its minimum y value. To specify your own starting position, use attributesstarts.x
,starts.y
andstarts.z
. The color is encoded by the norm of (u, v, w), and the local radius by the divergence of (u, v, w). -
Draws sets of triangles with coordinates given by three 1-dimensional arrays in
See morex
,y
,z
and (1) a sets ofi
,j
,k
indices (2) Delaunay triangulation or (3) the Alpha-shape algorithm or (4) the Convex-hull algorithm -
Use cone traces to visualize vector fields.
Specify a vector field using 6 1D arrays, 3 position arrays
See morex
,y
andz
and 3 vector component arraysu
,v
,w
. The cones are drawn exactly at the positions given byx
,y
andz
.