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

4
votes
2answers
111 views

Draw dotted background [duplicate]

I saw this diagram on an exam paper and noticed that it was too clean to have been made in the usual MS Word program. So I figured that it may have been made in either TikZ or PSTricks. What stood ...
5
votes
2answers
399 views

Probability tree is colliding

I need to make a probability tree with 3 outcomes per event. Here is the code I am using: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fullpage} \usepackage{amsmath} \usepackage{...
3
votes
1answer
64 views

tikz 'flow chart'/protocol diagram with no hard coded postions

I'm trying to create a particular style of flow chart/ protocol diagram. This seems readily doable with tikz, but I'm having no luck figuring out how to get tikz to even attempt to do what I want. ...
1
vote
1answer
60 views

Asymptote (XeLaTeX): Use custom-defined colors/Call drawing functions from external file

I'm quite new to Asymptote, although it's great to manipulate vector graphics within LaTeX. Specifically, I'm using XeLaTeX. What I'm trying to do is to change the color of a vector graphic to ...
2
votes
4answers
114 views

Drawing a particular commutative diagram

I can draw using \begin{diagram} X &\rTo^{\gamma} &Y & \lDotsto & \varepsilon_2\\ \dTo^\alpha &\ruTo^\beta & & &\\ Z& \lDotsto &\varepsilon_3 \end{diagram} ...
0
votes
0answers
30 views

Rotating Axis Labels in “.tex” graph

I've drawn a graph on gnuplot, with latex terminal to obtain '.tex' graph. After that I import it into latex document as follows, begin{figure} label{aluminumplot} caption{Aluminum} input{alu.tex} ...
5
votes
0answers
138 views

Drawing MRI sequence

Does anyone know of existing LaTeX macros or packages for drawing Magnetic Resonance Imaging pulse sequences? I didn't find anything online. This is an example of pulse sequence: Thank you so much ...
0
votes
1answer
102 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 ...
1
vote
0answers
94 views

venn diagram in latex [closed]

Can you please help me to draw a venn diagram like the pic, below (and color if possible): Thank you.
5
votes
0answers
54 views

Tikz curve not consistent with different computers [closed]

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 ...
0
votes
1answer
67 views

Help with LaTeX graph

Could someone help me code this graph please ?
3
votes
3answers
123 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 ...
3
votes
1answer
122 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 ...
2
votes
0answers
185 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. https://...
0
votes
0answers
33 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 ...
0
votes
2answers
85 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
66 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 ...
9
votes
2answers
320 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
0answers
85 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
52 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
1
vote
1answer
83 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} \usepackage{chemmacros}...
0
votes
1answer
94 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 ...
5
votes
4answers
702 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
47 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
34 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
0answers
89 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
3answers
230 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
1answer
71 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 ...
0
votes
1answer
42 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 ...
4
votes
2answers
98 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} \...
3
votes
1answer
64 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 left)...
0
votes
1answer
94 views

Draw geometric shape via Latex

Can I draw this shape via LaTeX? Is there a software to draw any shape as
4
votes
1answer
119 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
130 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 here:...
-3
votes
1answer
91 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} \begin{...
1
vote
1answer
97 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.
16
votes
3answers
325 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} \usepackage{...
7
votes
2answers
306 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 ...
9
votes
2answers
152 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: \...
0
votes
1answer
83 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
19 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 0},clip]{example-...
4
votes
2answers
324 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} \usetikzlibrary{...
2
votes
1answer
41 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
74 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
78 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
1answer
115 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
3answers
47 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} \begin{picture}(1,1)...
4
votes
2answers
115 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, ...
1
vote
1answer
70 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 ...
0
votes
2answers
48 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!!