plot3
3D line plot.
Syntax
Section titled “Syntax”h = plot3(x, y, z, ...)Description
Section titled “Description”Plots a 3D line through the points (x(i), y(i), z(i)). Same name-value-pair conventions as plot.
Examples
Section titled “Examples”t = linspace(0, 6*pi, 100);plot3(cos(t), sin(t), t, 'LineWidth', 2)