[Tex/LaTex] To make such Math figure in LaTeX

diagrams

Figure is Boggiatto et al. 2010 picture which I would like to reproduce in LaTeX but I cannot do plot

  • a circle
  • a square
  • an intesection of square and circle
  • put density to the square

enter image description here

TeXLive: 2016

Best Answer

I changed it little bit, like the background with color instead of dotted, but the exact same illustration can be done in Tikz. My illustration is below.

enter image description here

Tikz

\documentclass{article}
\usepackage{graphicx}  
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\draw [thick] (2,2) circle (3cm);
\draw (-2,-2) rectangle (6,6);
\draw (0,5.5) node{Cohen class: $\sigma * Wig$};
\draw [opacity=0.4,fill=black!15,rounded corners=2ex] (-1.9,-1.9) rectangle (5.9,2);

\draw (1,-1.6) node{Generalised spectograms: $Sp_{\phi,\psi}$};


\draw (2,2.5) node[circle,fill,inner sep=1pt,label=below:{$Q=\int_{[0,1]}Wig_{\tau} d\tau$}]{};
\draw (2,-1) node[circle,fill,inner sep=1pt,label=right:{$Sp_{\phi}$(classical spectogram)}]{};
\draw (2,5) node[circle,fill,inner sep=1pt,label=right:{$Wig_{1/2}=Wig$ (Wigner)}]{};
\draw (-0.6,3.5) node[circle,fill,inner sep=1pt,label=left:{$Wig_{\tau}$ ($\tau$-Wigner)}]{};

\draw (5,2) node[circle,fill,inner sep=1pt,label=above right:{$Wig_1=Sp_{1,\delta}=R^*$}]{};
\draw (5,1.5) node[circle,fill,inner sep=0pt,label=above right:{(conjugate-Rihaczek)}]{};

\draw (-1,2) node[circle,fill,inner sep=1pt,label=above left:{$Wig_0=Sp_{\delta,1}=R$}]{};
\draw (-1,1.5) node[circle,fill,inner sep=0pt,label=above left:{(Rihaczek)}]{};

\end{tikzpicture}

\end{document}

Related

  1. I cannot understand why the linebreaking does not work with \\ in the Tikz-draw labels: How to introduce a line break in a TikZ node label? It should by this, \draw (5,2) node[circle,fill,inner sep=1pt,label=above right:{$Wig_1=Sp_{1,\delta}=R^*$\\(conjugate-Rihaczek)}]{};, why the linebreaking not working?

For custom background such as dots or fivepointed stars

Use the \usetikzlibrary{patterns} package for the custom background such as stars or dots like the below, other directives here.

enter image description here

\documentclass{article}
\usepackage{graphicx}  
\usepackage{tikz}
\usetikzlibrary{patterns}

\begin{document}

\begin{tikzpicture}
\draw [thick] (2,2) circle (3cm);
\draw (-2,-2) rectangle (6,6);
\draw (0,5.5) node{Cohen class: $\sigma * Wig$};
\draw [opacity=0.4,fill=black!15,pattern=dots,rounded corners=2ex] (-1.9,-1.9) rectangle (5.9,2);

\draw (1,-1.6) node{Generalised spectograms: $Sp_{\phi,\psi}$};


\draw (2,2.5) node[circle,fill,inner sep=1pt,label=below:{$Q=\int_{[0,1]}Wig_{\tau} d\tau$}]{};
\draw (2,-1) node[circle,fill,inner sep=1pt,label=right:{$Sp_{\phi}$(classical spectogram)}]{};
\draw (2,5) node[circle,fill,inner sep=1pt,label=right:{$Wig_{1/2}=Wig$ (Wigner)}]{};
\draw (-0.6,3.5) node[circle,fill,inner sep=1pt,label=left:{$Wig_{\tau}$ ($\tau$-Wigner)}]{};

\draw (5,2) node[circle,fill,inner sep=1pt,label=above right:{$Wig_1=Sp_{1,\delta}=R^*$}]{};
\draw (5,1.5) node[circle,fill,inner sep=0pt,label=above right:{(conjugate-Rihaczek)}]{};

\draw (-1,2) node[circle,fill,inner sep=1pt,label=above left:{$Wig_0=Sp_{\delta,1}=R$}]{};
\draw (-1,1.5) node[circle,fill,inner sep=0pt,label=above left:{(Rihaczek)}]{};

\end{tikzpicture}

\end{document}

enter image description here

and here more like the original

\usepackage{tikz}
\usetikzlibrary{patterns}

\begin{document}

\begin{tikzpicture}
\draw [thick] (2,2) circle (3cm);
\draw (-2,-2) rectangle (6,6);
\draw (0,5.5) node{Cohen class: $\sigma * Wig$};
\draw [opacity=0.4,fill=black!15,pattern=dots] (-1.9,-1.9) rectangle (5.9,2);

\draw (1,-1.6) node{Generalised spectograms: $Sp_{\phi,\psi}$};


\draw (2,2.5) node[circle,fill,inner sep=1pt,label=below:{$Q=\int_{[0,1]}Wig_{\tau} d\tau$}]{};
\draw (2,-1) node[circle,fill,inner sep=1pt,label=right:{$Sp_{\phi}$(classical spectogram)}]{};
\draw (2,5) node[circle,fill,inner sep=1pt,label=right:{$Wig_{1/2}=Wig$ (Wigner)}]{};
\draw (-0.6,3.5) node[circle,fill,inner sep=1pt,label=left:{$Wig_{\tau}$ ($\tau$-Wigner)}]{};

\draw (5,2) node[circle,fill,inner sep=1pt,label=above right:{$Wig_1=Sp_{1,\delta}=R^*$}]{};
\draw (5,1.5) node[circle,fill,inner sep=0pt,label=above right:{(conjugate-Rihaczek)}]{};

\draw (-1,2) node[circle,fill,inner sep=1pt,label=above left:{$Wig_0=Sp_{\delta,1}=R$}]{};
\draw (-1,1.5) node[circle,fill,inner sep=0pt,label=above left:{(Rihaczek)}]{};

\end{tikzpicture}

\end{document}

enter image description here

Related Question