File:SincmapT100.png

Complex map of function sinc.

$f=\mathrm{sinc}(x+\mathrm i y) $ is shown in the $x$, $y$ plane with levels $u=\Re(f)=\mathrm {const}$ and levels $v=\Im(f)=\mathrm {const}$.

C++ generator of curves
// Files ado.cin and conto.cin ahould be loaded in the working directory in order to compile the C++ code below.

using namespace std; typedef complex z_type; main{ int j,k,m,n; DB x,y, p,q, t; z_type z,c,d; int M=801,M1=M+1; int N=401,N1=N+1; DB X[M1],Y[N1], g[M1*N1],f[M1*N1], w[M1*N1]; // w is working array. char v[M1*N1]; // v is working array FILE *o;o=fopen("sincmap.eps","w");ado(o,162,82); fprintf(o,"81 41 translate\n 10 10 scale\n"); DO(m,400) X[m]=-8.+.02*m; X[400]=-.001; X[401]= .001; for(m=402;m-99. && p<99.      &&     q>-99. && q<99       ) {g[m*N1+n]=p; f[m*N1+n]=q; }                     }} //#include "plodi.cin" fprintf(o,"1 setlinejoin 1 setlinecap\n"); p=1.5;q=.5; for(m=-11;m<11;m++)for(n=2;n<10;n+=2)conto(o,f,w,v,X,Y,M,N,(m+.1*n),-q, q); fprintf(o,".01 W 0 .6 0 RGB S\n"); for(m=0;m<10;m++) for(n=2;n<10;n+=2)conto(o,g,w,v,X,Y,M,N,-(m+.1*n),-q, q); fprintf(o,".01 W .9 0 0 RGB S\n"); for(m=0;m<10;m++) for(n=2;n<10;n+=2)conto(o,g,w,v,X,Y,M,N, (m+.1*n),-q, q); fprintf(o,".01 W 0 0 .9 RGB S\n"); for(m=1;m<11;m++) conto(o,f,w,v,X,Y,M,N, (0.-m),-p,p); fprintf(o,".02 W .9 0 0 RGB S\n"); for(m=1;m<11;m++) conto(o,f,w,v,X,Y,M,N, (0.+m),-p,p); fprintf(o,".02 W 0 0 .9 RGB S\n"); conto(o,f,w,v,X,Y,M,N, (0. ),-2*p,2*p); fprintf(o,".02 W .6 0 .6 RGB S\n"); for(m=-9;m<0;m++) conto(o,g,w,v,X,Y,M,N, (0.+m),-p,p); fprintf(o,".02 W 0 0 0 RGB S\n"); m=0;         conto(o,g,w,v,X,Y,M,N, (0.+m),-2*p,2*p); fprintf(o,".02 W 0 0 0 RGB S\n"); for(m=1;m<10;m++) conto(o,g,w,v,X,Y,M,N, (0.+m),-p,p); fprintf(o,".02 W 0 0 0 RGB S\n"); //#include "plofu.cin" fprintf(o,"showpage\n%c%cTrailer",'%','%'); fclose(o); system("epstopdf sincmap.eps"); system(   "open sincmap.pdf"); getchar; system("killall Preview");//for mac }
 * 1) include 
 * 2) include 
 * 3) define DB double
 * 4) define DO(x,y) for(x=0;x<y;x++)
 * 1) include
 * 1) define Re(x) x.real
 * 2) define Im(x) x.imag
 * 3) define I z_type(0.,1.)
 * 4) include "conto.cin"

Latex generator of labels
% File sincmap.pdf should be generated with the code above in order to compile the Lattex document below.

% \documentclass[12pt]{article} % \paperheight 838px % \paperwidth 1644px % \textwidth 1294px % \textheight 1200px % \topmargin -80px % \oddsidemargin -80px % \usepackage{graphics} % \usepackage{rotating} % %\usepackage{color}% \newcommand \sx {\scalebox} % \newcommand \rot {\begin{rotate}} % \newcommand \ero {\end{rotate}} % \newcommand \ing {\includegraphics} % \newcommand \rmi {\mathrm{i}} % \begin{document} % \newcommand \zoomax { % \put(16,820){\sx{4.4}{$y$}} % \put(16,630){\sx{4}{$2$}} % \put(16,430){\sx{4}{$0$}} % \put(-4, 230){\sx{4}{$-\!2$}} % \put(220, 5){\sx{4}{$-\!6$}} % \put(420, 5){\sx{4}{$-\!4$}} % \put(620, 5){\sx{4}{$-\!2$}} % \put(843, 5){\sx{4}{$0$}} % \put(1043, 5){\sx{4}{$2$}} % \put(1243, 5){\sx{4}{$4$}} % \put(1443, 5){\sx{4}{$6$}} % \put(1631,6){\sx{4}{$x$}} % } % \parindent 0pt % \begin{picture}(1616,816) % \put(40,30){\sx{10}{\ing{sincmap}}} % \zoomax % \put(104,430){\sx{4}{\rot{0}$v\!=\!0$\ero}} % \put(800,650){\sx{4}{$u\!=\!2$}} % \put(865,500){\sx{4}{\rot{90}$v\!=\!0$\ero}} % \put(872,446){\sx{4}{\rot{46}$u\!=\!1$\ero}} % \put(862,420){\sx{4}{\rot{-46}$u\!=\!1$\ero}} % \put(600,474){\sx{4}{\rot{0}$v\!=\!0.2$\ero}} % \put(600,430){\sx{4}{\rot{0}$v\!=\!0$\ero}} \put(890,430){\sx{4}{\rot{0}$v\!=\!0$\ero}}  % \put(570,380){\sx{4}{\rot{0}$v\!=\!-0.2$\ero}} % \put(550,390){\sx{4}{\rot{90}$u\!=\!0$\ero}} % \put(90,390){\sx{4}{\rot{90}$u\!=\!0$\ero}} % \put(233,390){\sx{4}{\rot{90}$u\!=\!0$\ero}} % \put(362,366){\sx{3.8}{\rot{90}$u\!=\!-0.2$\ero}} % \put(418,390){\sx{4}{\rot{90}$v\!=\!0$\ero}} % \put(482,366){\sx{3.8}{\rot{90}$u\!=\!-0.2$\ero}} % \put(1180,390){\sx{4}{\rot{90}$u\!=\!0$\ero}} % \put(1270,360){\sx{3.8}{\rot{90}$u\!=\!-0.2$\ero}} % \put(1318,390){\sx{4}{\rot{90}$v\!=\!0$\ero}} % \put(1368,360){\sx{3.8}{\rot{90}$u\!=\!-0.2$\ero}} % \put(1496,390){\sx{4}{\rot{90}$u\!=\!0$\ero}} % \put(1642,390){\sx{4}{\rot{90}$v\!=\!0$\ero}} % \end{picture} % \end{document} % %