Skip to content
Plotly templates

3D Mesh

Custom 3D triangulated mesh — useful for FEM results / anatomical surfaces.

Template previewPlotly
Rendering…

Make it your own.

{
  "data":[{"type":"mesh3d",
    "x":[0,1,2,0,1,2,0,1,2],
    "y":[0,0,0,1,1,1,2,2,2],
    "z":[0,1,0,1,2,1,0,1,0],
    "i":[0,1,3,4,1,2,4,5],
    "j":[1,4,4,7,2,5,5,8],
    "k":[3,3,6,6,4,4,7,7],
    "intensity":[0,1,0,1,2,1,0,1,0],
    "colorscale":"Viridis",
    "opacity":0.9}],
  "layout":{"title":"3D mesh","scene":{"xaxis":{"title":"x"},"yaxis":{"title":"y"},"zaxis":{"title":"z"}}}
}