- Questo topic ha 1 risposta, 2 partecipanti ed è stato aggiornato l'ultima volta 17 anni fa da
minnolina.
-
CreatoreTopic
-
16 Agosto 2009 alle 14:59 #36131
-
CreatoreTopic
-
AutoreRisposte
-
-
20 Agosto 2009 alle 7:21 #36132::
Ti do’ un esempio (un po’ lungp) fatto con tikz. Puoi personalizzarlo a piacere facilmente. Se devi farne tante si puo’ poi sempre fattorizzare il codice.`\documentclass{minimal}
\usepackage{tikz}\begin{document}
\begin{tikzpicture}
\tikzstyle{freccia}=[-stealth,line width=1pt]\node (radice) at (0,0) {
\begin{minipage}{6cm} \centering
\begin{tikzpicture}[line width=1.5pt]
\draw (0,0) rectangle (1,1);
\draw[xshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm] (0,0) rectangle (1,1);
\draw[yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=2cm] (0,0) rectangle (1,1);
\node at (-0.5,1.5) {$\lambda=$};
\end{tikzpicture}
\end{minipage}
};\node (1l) at (-4,-4) {
\begin{minipage}{6cm} \centering
\begin{tikzpicture}[line width=1.5pt]
\draw (0,0) rectangle (1,1);
\draw[xshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm] (0,0) rectangle (1,1);
\draw[yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=2cm] (0,0) rectangle (1,1);
\node at (4.5,2.5) {$-1$};
\filldraw (0.5,0.5) circle (3pt);
\filldraw (1.5,0.5) circle (3pt);
\filldraw (2.5,0.5) circle (3pt);
\filldraw (2.5,1.5) circle (3pt);
\filldraw (3.5,1.5) circle (3pt);
\end{tikzpicture}
\end{minipage}
};\node (1r) at (4,-4) {
\begin{minipage}{6cm}\centering
\begin{tikzpicture}[line width=1.5pt]
\draw (0,0) rectangle (1,1);
\draw[xshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm] (0,0) rectangle (1,1);
\draw[yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=2cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=2cm] (0,0) rectangle (1,1);
\node at (4.5,2.5) {$+1$};
\filldraw (1.5,0.5) circle (3pt);
\filldraw (2.5,0.5) circle (3pt);
\filldraw (2.5,1.5) circle (3pt);
\filldraw (3.5,1.5) circle (3pt);
\filldraw (3.5,2.5) circle (3pt);
\end{tikzpicture}
\end{minipage}
};\node (2l) at (-4,-8) {
\begin{minipage}{6cm}\centering
\begin{tikzpicture}[line width=1.5pt]
\draw (0,0) rectangle (1,1);
\draw[xshift=1cm] (0,0) rectangle (1,1);
\draw[yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=1cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=2cm,yshift=1cm] (0,0) rectangle (1,1);
\draw[xshift=3cm,yshift=1cm] (0,0) rectangle (1,1);
\node at (4.5,1.5) {$-1$};
\filldraw (1.5,0.5) circle (3pt);
\filldraw (1.5,1.5) circle (3pt);
\filldraw (2.5,1.5) circle (3pt);
\filldraw (3.5,1.5) circle (3pt);
\end{tikzpicture}
\end{minipage}
};\node (2r) at (4,-8) {
\begin{minipage}{6cm}\centering
$0$
\end{minipage}
};\node (3l) at (-4,-12) {
\begin{minipage}{6cm}\centering
\begin{tikzpicture}[line width=1.5pt]
\draw (0,0) rectangle (1,1);
\draw[yshift=1cm] (0,0) rectangle (1,1);
\node at (1.5,1.5) {$-1$};
\filldraw (0.5,0.5) circle (3pt);
\filldraw (0.5,1.5) circle (3pt);
\end{tikzpicture}
\end{minipage}
};\node (4l) at (-4,-16) {
\begin{minipage}{6cm}\centering
$(-1)^3$
\end{minipage}
};\draw[freccia] (radice.south) — (1l.north);
\draw[freccia] (radice.south) — (1r.north);
\draw[freccia] (1l.south) — (2l.north);
\draw[freccia] (1r.south) — (2r.north);
\draw[freccia] (2l.south) — (3l.north);
\draw[freccia] (3l.south) — (4l.north);\end{tikzpicture}
\end{document}
`
-
-
AutoreRisposte
- Devi essere connesso per rispondere a questo topic.
