% lect11_1: Simple 3D plot % Vector of independent variables for plotting the function t = 0:0.1:6*pi; % Evaluate the functions for x, y, and z x = sqrt(t).*sin(2*t); y = sqrt(t).*cos(2*t); z = 0.5*t; % Plot it plot3(x, y, z, 'k', 'linewidth', 1) grid on xlabel('x'); ylabel('y'); zlabel('z');