phd-thesis-fr/figures/ds2.tikz

47 lines
1.8 KiB
Text
Raw Normal View History

2017-07-08 17:42:46 +02:00
\documentclass{standalone}
\input{common-headers}
\input{sigles}
\begin{document}
\begin{tikzpicture}
\draw (0,-1.0) node {$S$};
\draw[thick,scale around={1.2:(1.5,1.5)}] (0,0) rectangle (3,3);
\begin{scope}[dashed]
\draw (1.1,1.1) rectangle (1.9,1.9);
\draw (0,0) rectangle (0.9,1.9);
\draw[rotate around={ 90:(1.5,1.5)}] (0,0) rectangle (0.9,1.9);
\draw[rotate around={180:(1.5,1.5)}] (0,0) rectangle (0.9,1.9);
\draw[rotate around={270:(1.5,1.5)}] (0,0) rectangle (0.9,1.9);
\end{scope}
\draw (1.5,-1.0) node {$s_1$};
% Middle S
\begin{scope}[xshift=4cm]
\draw[thick,scale around={1.2:(1.5,1.5)}] (0,0) rectangle (3,3);
\begin{scope}[dashed]
\draw (1.1,1.1) rectangle (1.9,1.9);
\draw (0,0) rectangle (1.9,0.9);
\draw[rotate around={ 90:(1.5,1.5)}] (0,0) rectangle (1.9,0.9);
\draw[rotate around={180:(1.5,1.5)}] (0,0) rectangle (1.9,0.9);
\draw[rotate around={270:(1.5,1.5)}] (0,0) rectangle (1.9,0.9);
\end{scope}
\draw (1.5,-1.0) node {$s_2$};
\end{scope}
\draw (8.5,1.5) node {$\cdots$};
% Right S
\begin{scope}[xshift=10cm]
\draw[thick,scale around={1.2:(1.5,1.5)}] (0,0) rectangle (3,3);
\begin{scope}[dashed]
\draw (1.1,1.1) rectangle (1.9,1.9);
\draw (0,0) rectangle (0.9,0.9);
\draw[rotate around={ 90:(1.5,1.5)}] (0,0) rectangle (0.9,0.9);
\draw[rotate around={180:(1.5,1.5)}] (0,0) rectangle (0.9,0.9);
\draw[rotate around={270:(1.5,1.5)}] (0,0) rectangle (0.9,0.9);
\draw (1.1,0) rectangle ++(0.8,0.9);
\draw[rotate around={ 90:(1.5,1.5)}] (1.1,0) rectangle ++(0.8,0.9);
\draw[rotate around={180:(1.5,1.5)}] (1.1,0) rectangle ++(0.8,0.9);
\draw[rotate around={270:(1.5,1.5)}] (1.1,0) rectangle ++(0.8,0.9);
\end{scope}
\draw (1.5,-1.0) node {$s_i$};
\end{scope}
\end{tikzpicture}
\end{document}