Graphics, Figures & TablesDiagram figure in LaTeX with TikZ

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

Diagram figure in LaTeX with TikZ

Post by kostao »

Hello,
I am writing my dissertation using latex. Can you help me to create this figue in LaTeX (see below)?
diagram.png
diagram.png (142.49 KiB) Viewed 4364 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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Diagram figure in LaTeX with TikZ

Post by Stefan Kottwitz »

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
LaTeX.org admin
kostao
Posts: 16
Joined: Tue Jan 10, 2017 8:48 pm

Diagram figure in LaTeX with TikZ

Post by kostao »

Thanks, it works !!!

Code: Select all

Code, edit and compile here:
% 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
http://tex.stackexchange.com/q/45741/213 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 arrow
between 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)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Post Reply