scatter3

Scatter spiral

z = 10*(1:pi/20:10*pi)
y = z.*sin(z/10)
x = z.*cos(z/10)
scatter3(x,y,z)

Normal random points

n = 10
x = randn(n)
scatter3({x x+3},randn(n),{randn(n),randn(n)+1})

Related documentation

3D graphs - Basic Options and Setup

See also

surf | plot3 | scatter