## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Diagram figure in LaTeX with TikZ Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
kostao
Posts: 16
Joined: Tue Jan 10, 2017 8:48 pm

### Diagram figure in LaTeX with TikZ

Hello,
I am writing my dissertation using latex. Can you help me to create this figue in LaTeX (see below)?

diagram.png (142.49 KiB) Viewed 1051 times

The similar scheme http://www.texample.net/tikz/examples/radix2fft/ (Tikz example).
Thanks.
Last edited by Stefan Kottwitz on Tue Jan 10, 2017 9:15 pm, edited 2 times in total.

Tags:

Stefan Kottwitz
Site Admin
Posts: 8945
Joined: Mon Mar 10, 2008 9:44 pm
It looks like an algebraic diagram. You could use tikz-cd or a TikZ matrix, such as here - putting the symbols into a matrix, and drawing some arrows. Perhaps I post an example later today. Btw. I added an answer to your other question with tcolorbox.

Stefan
Site admin

kostao
Posts: 16
Joined: Tue Jan 10, 2017 8:48 pm
Thanks, it works !!!
% A simple commutative diagram% Stefan Kottwitz\documentclass{article}\usepackage{tikz}%%%<\usepackage{verbatim}\usepackage[active,tightpage]{preview}\PreviewEnvironment{tikzpicture}\setlength\PreviewBorder{5pt}%%%%>\begin{comment}:Title: Commutative diagram:Tags: Matrices;Arrows;Diagrams;Mathematics:Author: Stefan Kottwitz:Slug: commutative-diagram-tikz A simple example of a commutative diagram using TikZ, short and readable.It has been posted as answer to the question<!-- m --><a class="postlink" href="http://tex.stackexchange.com/q/45741/213">http://tex.stackexchange.com/q/45741/213</a><!-- m --> of Elias. * A matrix is used for positioning the main nodes* Arrows are drawn as edges, between the main nodes,  using further nodes for labeling* As columns and row distance is expressed by em units, which scale  with the font size, the diagram can be scaled by using font size commands  such as \Large, \huge etc. Note the (m-2-1.east|-m-2-2) syntax for getting a horizontal arrowbetween cells of a different height.\end{comment}\usetikzlibrary{matrix}\begin{document}\begin{tikzpicture}\matrix (m) [matrix of math nodes,row sep=1em,column sep=1em,minimum width=1em]  {     x(t_1) & x(t_2) & \dots & x(t_{N/2}) & x(t_{N/2+1}) & x(t_{N/2+2}) & \dots & x(t_{N}) \\     \otimes & \otimes & \dots & \otimes &              &              &       &          \\     y(t_1) & y(t_2) & \dots & y(t_{N/2}) &              &              &       &          \\  };  \path[-stealth]    (m-1-1) edge node [left] {} (m-2-1)    (m-1-2) edge node [left] {} (m-2-2)    (m-1-4) edge node [left] {} (m-2-4)    (m-1-5) edge node [left] {} (m-2-1)    (m-1-6) edge node [left] {} (m-2-2)    (m-1-8) edge node [left] {} (m-2-4)    (m-2-1) edge node [left] {} (m-3-1)    (m-2-2) edge node [left] {} (m-3-2)    (m-2-4) edge node [left] {} (m-3-4)    ;\end{tikzpicture}\end{document}

Return to “Graphics, Figures & Tables”

### Who is online

Users browsing this forum: No registered users and 5 guests