function compl_sin()

[X Y] = meshgrid(-1:0.1:1,-2:0.4:2);

Z = X + 1i*Y;

F = sin(Z);

surf(X,Y,abs(F),angle(F))
shading flat
colorbar
colormap(gray)
