Skip to content

scatter3

3D scatter plot.

h = scatter3(x, y, z, s, c, ...)

3D version of scatter. Optional s controls size, c controls color.

scatter3(x, y, z, 30, c)
  • scatter — 2D scatter plot with optional size and color encoding.
  • bubble3 — 3D bubble plot.
  • plot3 — 3D line plot.