= MATLAB plot3 = The '''`plot3`''' function creates a 3D graphic of a curve. <> ---- == Usage == {{{ t = 0:pi/50:10*pi; st = sin(t); ct = cos(t); figure; plot3(st,ct,t) }}} Compare to [[MATLAB/FPlot3|fplot3]], where the bounds to render are set in the function rather than being embedded into the [[MATLAB/DataTypes#Symbolic_Variable|symbolic expression]]. See also [[MATLAB/FiguresAndRelatedCommands|figures and related commands]]. See [[MATLAB/Plot|plot]] for line specifications. One application of these is to instead render a point, like: {{{ hold on; plot3(1,2,3, '.r', "MarkerSize", 20); hold off; }}} ---- CategoryRicottone