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.sizeand/ormarker.colorProjections are achieved viaprojection. Surface fills are achieved viasurfaceaxis. -
The data the describes the coordinates of the surface is set in
z.Data in
See morezshould be a {2D array}. Coordinates inxandycan either be 1D {arrays} or {2D arrays} (e.g. to graph parametric surfaces). If not provided inxandy, the x and y coordinates are assumed to be linear starting at 0 with a unit step. The color scale corresponds to thezvalues by default. For custom color scales, usesurfacecolorwhich should be a {2D array}, where its bounds can be controlled usingcminandcmax. -
Draws isosurfaces between iso-min and iso-max values with coordinates given by four 1-dimensional arrays containing the
value,x,yandzof 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,yandzof 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,yandzand 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.yandstarts.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,zand (1) a sets ofi,j,kindices (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,yandzand 3 vector component arraysu,v,w. The cones are drawn exactly at the positions given byx,yandz.
View on GitHub
Install in Dash
3D Traces Reference