Three-dimensional graphs may be produced by placing the modifier 3d immediately after the plot command, as demonstrated by the following simple example which draws a helix:
Many plot styles take additional columns of data when used on three-dimensional plots, reading in three values for the x
y
z
x
y
y
x
z
x
(0,0)
x
z
y
(x,y)
z