{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)

0
votes
1answer
53 views

A Good way to draw technical Diagrams

I'm currently writing a research paper. For that I need to create some diagrams like the one given below(it is taken from an existing paper). It's not clear so I wanted to make my own figure. I tried ...
0
votes
1answer
64 views

Draw geometric shape via Latex

Can I draw this shape via LaTeX? Is there a software to draw any shape as
5
votes
4answers
626 views

How to draw an ellipse, with the foci, center, and axes labeled?

How do I plot this modified GeoGebra picture using LaTeX code?
1
vote
1answer
45 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 ...
5
votes
0answers
46 views

Tikz curve not consistent with different computers

I am trying to draw a curve in pgf/tikz using \draw .. controls. When I compile my .tex file at home, I get the graph on the left, which is the right one. However, when I compile my .tex on my office ...
3
votes
3answers
88 views

Reconstructing the following bias-variance diagram

I would appreciate if anyone that is more familiar with the TikZ package could replicate the following picture in LaTeX: The design does not necessary has to be the same. I'm more interested in an ...
0
votes
1answer
59 views

Help with LaTeX graph

Could someone help me code this graph please ?
3
votes
1answer
97 views

Drawing with Tikz (Physical System)

I want to draw the following in Tikz (Tikz is the way to go here right?) As I am new to Tikz, I tried do draw it by hand to see if someone here can help me. If possible, it would be nice for it to ...
1
vote
0answers
150 views

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

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
76 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
272 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
63 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
60 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
41 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
214 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 ...
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
284 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
395 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
33 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
45 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
88 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
36 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
59 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
410 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
67 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
48 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
86 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
294 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
67 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
286 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
262 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
325 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
86 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
99 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
64 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?
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
72 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
21 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
63 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
52 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
788 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}