function graf3D_plosny2
x=linspace(-pi,pi,50);
y=linspace(-3,3,40);
[X,Y]=meshgrid(x,y);
Z=cos(X.*Y);
subplot(2,1,1)
mesh(X,Y,Z)
subplot(2,1,2)
surf(X,Y,Z)
disp(X)
disp(Y)
disp(Z)
end

