A one-dimensional curve in 3-D is produced by plot3, which is completely analogous to plot; plot3(x, y, z) plots the curve, plot3(x, y, z, 'b:') makes it a blue dotted line, etc. As with plot, including more than one triplet (or quadruplet) of values in a single call overlays the plots. There exists zlabel exactly like xlabel and ylabel, and axis actually has six arguments, the last two being for z.