{diagrams} is for general questions about vector graphics created programmatically inside a (La)TeX document. For questions about specific packages, use the appropriate tag, e.g. {tikz-pgf} or {pstricks}. For questions about inclusion of external graphic files, use {graphics} instead.

learn more… | top users | synonyms (1)

1
vote
0answers
140 views

Was anything in Satoshi Nakamoto's original Bitcoin paper compiled in LaTeX? [on hold]

The complete paper This question is about Satoshi Nakamoto's original Bitcoin paper, which can be found at: https://bitcoin.org/bitcoin.pdf, [live]; or identical (also 184,292 bytes) e.g. ...
0
votes
2answers
73 views

How to draw an arrow in a diagram?

I found the code for I tried to put an arrow at the end points to join 0 to 0 but I couldn't. Any help? Edited: Here is the code I found \begin{tikzpicture} \matrix (m) [matrix of math nodes, ...
0
votes
0answers
29 views

Add mathematical symbols to flowchart

I want to add mathematical symbols to a flowchart similar to the one in the link below http://i.stack.imgur.com/r7GSK.jpg The code for my system is listed below. I want to have mathsymbols like Y_k ...
2
votes
5answers
1k views

drawing simple sequence diagram

I need to draw this kind of simple sequency diagram, but I'm not very good with tikz: \begin{figure}[!ht] \begin{center} \begin{tikzpicture}[node distance=2cm,auto,>=stealth'] \node[] ...
9
votes
2answers
255 views

Block diagram TikZ connectors

I am having some issues with the following code: \documentclass[tikz,border=5mm]{standalone} \usetikzlibrary{arrows,positioning,shapes} \begin{document} \begin{tikzpicture}[node distance=5mm, ...
1
vote
1answer
60 views

Cyclo-hexane Newman projection

How can i draw this projection? I'm already using chemfig, so i prefer a solution with it. edit: as requested, here is my mwe \documentclass[preview,border=1pt]{standalone} ...
0
votes
0answers
42 views

Draw flowchart of communication model

I want to draw a flowchart over a communication model in latex. I have a link below on how it might look. Also i want to add antennas to the figure. I have never drawn figures in latex but i know that ...
7
votes
3answers
1k views

How to draw state transition diagrams like this?

I'm doing a project on epidemiologies and I am reading a paper of which I really like the appearance of the transition state diagrams, but I can not get mine to look as good. Having an example would ...
1
vote
0answers
58 views

How to generate a diagram as below?

I am a (La)TeX newbie and I have found the following graphic in a document: I am quite sure it was generated by LaTeX code since you can select every bit of text in the original file. I am not ...
-1
votes
2answers
45 views

Drawing under-link diagram using latex [closed]

i am preparing my latex version of my paper and i need to know how can i handle the reduction diagram like in this figure
0
votes
1answer
39 views

graphics with \setbeamercovered{transparent}

With \setbeamercovered{transparent} covered parts of a slide are displayed transparently. If there is a (small) picture among the text, it is shown as it is. Beamer has only this picture, so it shows ...
3
votes
3answers
212 views

Filling exterior of a circle

I want to create a picture like the one attached below using tikzpicture. I could only draw two concentric circles. How do I colour them as in the picture? Can anyone help me? I am pretty new to ...
5
votes
4answers
602 views
1
vote
0answers
67 views

Undefined control sequence when using TikZ

I looked up how to use TikZ to make an ERD using crow's foot notation and found this. When I c/p the code provided there, there is no problems at all,but when the preamble is pasted into mine and the ...
3
votes
4answers
283 views

How to draw this Venn Diagram in TikZ?

I need to draw a picture, the picture is showed below. Which package is better to draw it,TikZ?
4
votes
1answer
394 views

How to draw this box representing a system with arrows indicating inputs and outputs?

I need to draw a picture, the picture is showed below. Which package is better to draw it,TikZ? Actually I need integrate the latex code into my software program, and the input, output and variable ...
1
vote
1answer
29 views

Illustrating clustering in a figure

I am currently writing an MSc thesis involving unsupervised learning/clustering. I am wishing to illustrate the basic concepts of clustering using a figure. The figure I wish to draw should look ...
1
vote
1answer
21 views

Label only selected vertices with tkz-berge

I drew the following graph with tkz-berge, but only want vertices "v" and "u" to show up, how can I do this? I've tried with \AssignVertexLabel but I seem to lack understanding of how to use it. ...
1
vote
1answer
44 views

Customizing torus diagram in pgfplots

I'm trying to produce a nice torus diagram to illustrate its parametrization. I have this: but would like to have this: There's a list of things I can't figure out how to do: Move axis labels ...
4
votes
2answers
84 views

Numbering rows in array environment

I would like to (use the \label - \ref mechanism to) number as equations the first and third rows in the following diagram: \documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amsfonts} ...
0
votes
1answer
33 views

Typesetting a diagram with “tree arrows”

I'm trying to tex a diagram of the following form: Even more preferred, I'd like to both have labels for the trees (like $\mathcal T$ and $\pi\mathcal T$ in the above picture), and also a label on ...
3
votes
1answer
58 views

How to add points and overbraces to line segments in TikZ

I'm trying to reproduce the following image in TikZ, except that I would like to have \overbraces over the segments between black points with V2 on top (as indicated for the middle case on the ...
9
votes
4answers
406 views

Draw a node as a square with TikZ

I googled but cannot find a solution. Is that possible to draw a node with TikZ which will be a square and NOT a rectangle? Minimum working example can be something like this: ...
4
votes
1answer
66 views

Remove Border form Tikz SMart Diagram

I want to remove border, set the box background to dark in the diagram below. I got no help from the document. \begin{center} \smartdiagramset{ set color list={blue,green,orange}, % border=none, ...
1
vote
0answers
47 views

Customize TikZ Smart Diagram in Latex

I want a chart that expresses the flow of an algorithm, in beamer theme. Something like this: Requirements --> Design --> Validation --> Verification --> Testing THe diagrams are ...
-3
votes
1answer
85 views

How I can create a graph of acceleration and speed - tikz?

How can I create a graph of acceleration and speed like the one in the picture. Knowing that they are each other's consequence? \documentclass{article} \usepackage{tikz} \begin{document} ...
15
votes
3answers
290 views

Drawing an animated circle in LaTeX

How can I draw an image like this in LaTeX? I want to show that I am drawing a circle. Here is what I have, but it does not work. \documentclass[pstricks,border=0pt]{standalone} ...
1
vote
1answer
63 views

Signal diagram in TiKz

Hi, I am trying to produce this in TiKz, Is TiKz the best package to use? Any starting points on this would be appreciated.
-2
votes
0answers
52 views

How can I get the following diagram? [duplicate]

I was wondering what would be better ways to get the following diagram with tikz? Thanks The code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{} \usepackage{tikz} ...
4
votes
2answers
278 views

Please, how can I get the following drawing?

I was wondering what would be better ways to get the following diagram with tikz? Thanks The code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{} \usepackage{tikz} ...
7
votes
2answers
260 views

Help with drawing tikz diagrams of worldsheet topologies

Can someone help me reproduce the following images - or parts of them - with tikz. (In case it helps to clarify my intent: I am trying to draw the worldsheet topologies for the vacuum diagram of the ...
3
votes
4answers
322 views

TikZ - inscribe a rectangle into a triangle

Say we have a given isosceles triangle (for example sides of lengths 8,12,12) and a given segment length a, smaller than the triangle's base (e.g. a=6). How can I draw such a rectangle inscribed ...
4
votes
2answers
77 views

How to align more than one datavisualization within a single tikzpicture environment

Consider the following situation. I have three plots, where basically the axes are the same and I want to place them side by side. Since it doesn't make sense to repeat the axis labels for every plot, ...
8
votes
2answers
93 views

Putting labels on a cube with perspective

I'm trying to draw a cube where the faces are labeled with full perspective. I saw this question but I was looking for more perspective. Any help is greatly appreciated. Below is my attempt: ...
33
votes
6answers
5k views

How to produce a list of prime numbers in LaTeX

I would like to write a LaTeX script that produces all the prime numbers between the numbers n and m, where n < m. How can I do this? I feel it should not be that hard, but I cannot seem to program ...
0
votes
1answer
61 views

Create tikz image of conformal map from disk to plane

Can someone help me reproduce the following image (source) illustrating the conformal map from the unit disk D to the upper-half plane H using tikz?
1
vote
1answer
40 views

Automatic node placement without overlapping

I am trying to generate an ER diagram with automatic positioning of the nodes. This code has got a nice output, but I have to manage manually the position of the nodes. I have tried to replace "left ...
3
votes
0answers
18 views

How to crop the figure in a specific shape in latex using includegraphics or tikz? [duplicate]

For example, \documentclass{article} \usepackage{graphicx} \begin{document} % left \includegraphics[trim={5cm 0 0 0},clip]{example-image-a} % right \includegraphics[trim={0 0 5cm ...
2
votes
1answer
69 views

Drawing chemical structure - newman projections

I'm trying to create a figure showing some different possible chemical structures of the butane molecule in the form of the right most diagrams in the below image and I'd like to know the best way to ...
2
votes
1answer
20 views

How to align the nodes of a graph?

I am using the following codes to get my graph, \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,auto, node distance=3cm, ...
0
votes
1answer
62 views

How to draw this picture : a phase portrait in LATEX

Please I need some help. How can I draw this picture on Latex ? Thank you in advance.
2
votes
0answers
51 views

Recursive tree in Tikz

I'm trying to build a large inverted tree structure in Tikz, like the one below (except much larger, and ideally recursive): In this tree structure, each 'line' is made up of three nodes, and each ...
2
votes
3answers
36 views

transform a vector in dash vector in picture environment

I have a picture environment to create a figure. I want to modify a vector in a dash vector. Here is a MWE: \documentclass{article} \begin{document} \setlength{\unitlength}{5cm} ...
17
votes
4answers
787 views

How to create dotted counter?

How can I create a "dotted counter" like the one in the picture. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \end{tikzpicture} \end{document}
6
votes
2answers
227 views

Write easily a TIKZ flowchart

I created a npm package to write easily a TIKZ flowchart. Flowtex facilitates maintenance of a flowchart. Such as the insertion of new nodes or the positioning of the nodes as a function of others. I ...
0
votes
2answers
42 views

I want to make a grid and a rectangle shape inside the grid

Hi everyone I am trying to draw in latex but it is hard. I want to make a grid and a rectangle shape inside the grid with few labels. I would really appreciate some help!!
2
votes
1answer
62 views

Drawing a block arrow in latex

In a block diagram, I want to connect two blocks with block arrow rather than a single arrow. Is there any LaTex command for that. \documentclass[10pt,a4paper]{article} \usepackage{tikz} ...
1
vote
0answers
33 views

Displaying methylation-gene expression graph in latex

I would like to create a diagram for results of methylation-gene expression data analysis. I've starter to read about TikZ, but my first attempts on creating such a diagram didn't work out that well, ...
2
votes
2answers
478 views

How to construct the following diagram in LaTeX?

I would like to construct the following diagram in LaTeX. What's the best way to do it? I'd like to avoid using external software. (I currently have a "linear" sequence \cdots\to H_p(L)\to ...
3
votes
1answer
44 views

saving horizontal space in tree diagram

About a week ago @cfr already provided a very decent solution for saving vertical space in my tree diagram. Unfortunately my initial situation has changed now and I am facing a horizontal tree which ...