clear figure title ('3D plot') sgtitle('3D and XOY - projection') X=sort(3*rand(1,1000)); Y=sort(2*rand(1,1000)); subplot(2,1,1) h=line(X,Y,'linewidth',2); grid on Z=sin(X).*exp(Y); %? Объясните синтаксис! subplot(2,1,2) plot3(X,Y,Z,'linewidth',2,'color','magenta') % polyline 3d (try rotate) grid on