{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
1answer
129 views

Graphs/Charts in Latex

Being new to Latex, I'm finding it hard to draw graphs in latex. I wish to draw this graph. Can anyone please help me with the same? Here is the code I had been trying to use: \begin{tikzpicture} ...
5
votes
2answers
266 views

Plotting triangle on voronoi diagram, shading fractions of triangles with pgfplots/Tikz

Using this previously asked question I was able to plot Voronoi polygons from a set of generated data. I would like to annotate the plot further by doing the following: SOLVED BY MANIPULATING INPUT ...
-1
votes
3answers
109 views

How to plot this type figure in latex?

please tell me, How to plot this type figure (see, attached file) in latex?
4
votes
1answer
119 views

Two-photon processes diagrams in latex

Along my document, I have to display repeatedly, various figures containing diagrams as the included in the image: I am wondering which would be an effective approach to deal with this need within a ...
6
votes
1answer
98 views

Achieve a tikz picture

I want to do a figure like this one But I can't achieve it. I am a beginners in tikz. Thanks for your Help. I add the code and the result I get. \documentclass[french, tikz,border=5]{standalone} ...
0
votes
1answer
132 views

Adding 3D elements to a grid in Tikz

Based on my question here I created the the triangular mesh given below. Note that I am very new to Tikz so I don't know if this is the best approach. I would like to add 2 to 3 3D elements to the ...
5
votes
3answers
507 views

Drawing unstructured grids with Tikz

I am extremely new to Tikz, and know that it's easy to draw regular (Cartesian) grids, but haven't seen any examples using unstructured grids. Is this possible to do in Tikz, and if so, is there a ...
3
votes
1answer
113 views

How would you create a horizontal toc?

I'm trying to create a horizontal table of contents, but have no clue how I should start. My end goal would be something like this: I have some experience with latex, but unfortunately I am ...
1
vote
0answers
42 views

Controlling spacing and alignment using Qcircuit

I'm trying to typeset a circuit using Qcircuit and running into some spacing and alignment issues. Here is the portion that is giving me trouble (this will be embedded in a larger diagram): ...
0
votes
1answer
69 views

Diagram for SVD [closed]

How to draw something like below in latex:
2
votes
2answers
57 views

Adding an implication to a chart

I would like to add a long implication sign between "Symm" and "Ref" with out changing the look of the chart. I am doing it like this: \documentclass{article} \begin{document} \[ \begin{array} ...
16
votes
3answers
490 views

Tikz-diagram: Additional right angle and space

I'm trying to recreate this diagram: Mine already looks pretty good but the connection between the Environment and Sensornode lacks the 2nd right angle and space for the measured by text. How ...
0
votes
1answer
171 views

What is the most practical way to make and include a plot in pdfLaTeX [duplicate]

I often come to a point, where I want a plot of a set of data or just a simple function to be included into my TeX file. The usual naive approach would be to save the plot as a vector or pixel graphic ...
2
votes
1answer
91 views

Please help me create this diagram in LaTeX

Could someone please show me how to make this diagram using LaTeX? I have no idea where to begin with something like this. Thank you so much for your help!!
3
votes
1answer
69 views

“Pixelated” charts when using the vowel package

I'm using the vowel package and the charts look "pixelated", like this: The charts here look perfectly fine to me, but when I generate the manual by copying the source code from here, I get the same ...
4
votes
1answer
283 views

How to draw a figure explaining deciles in latex

I am supposed to do a course in which I have to explain what deciles are. In order to do so I want to do this simple figure I am sorry I do not have a MWE but all I know about creating figures in ...
0
votes
1answer
245 views

Creating work breakdown structure

I have a diagram that I want to convert into latex format. The diagram is as follows: can someone please tell me how to draw it in Work Breakdown Structure format??
2
votes
1answer
288 views

Many body perturbation diagrams (closed Feynman diagrams) in latex with labelling

I would like to draw many body Feynman diagrams using latex. These are closed and often used in condensed matter and nuclear physics in contrast to the open scattering diagrams in particle physics. ...
5
votes
2answers
160 views

tree and blocks

stackexchange members, I tried to do this but unfortunately I couldn't. It is really simple. I found some codes and tried to get similar picture as mine. and second image is Thank you so for ...
5
votes
1answer
174 views

Tikz - conformal map

How can I draw this: With my code I made this far : \begin{figure}[!h] \centering \begin{tikzpicture} \draw (-1,0) arc (180:360:1cm and 0.5cm); \draw[dashed] (-1,0) arc (180:0:1cm and 0.5cm); \draw ...
4
votes
2answers
147 views

Hyperboloid in TikZ [anti-de Sitter(AdS) space topological structure]

I would like to ask how to draw a Hyperboloid like this in a LaTeX document using Tikz or something else. Thanks.
4
votes
0answers
91 views

Graphing a non-linear inequality?

I'd love to automatically graph, on a number line, the solution to non-linear inequalities. Basically, the input would be an equation (e.g. x^2>=1) and the output would be a visual graph like the ...
3
votes
3answers
419 views

How to draw sequence of shapes with arrows and text

I'm trying to draw something of the sort with a square figure in the far left, and a rectangular figure cut into 4 slices on the right-hand side. Above the arrows and below the figures reads ...
0
votes
0answers
77 views

Latex Pics Overlapping, and how to get rid of the title?

I usually generate the .eps files before I write the paper. I use the following commands to insert in a pic, \begin{figure}[t] \centering \caption[1DWavesBC]{ \label{fig:example} Waves coming to BC} ...
11
votes
2answers
722 views

3D Cube within a cube?

I have been trying to make an image but have been unsuccessful. Typically I use the tikz environment but can still not figure it out. I would love some help! Thank you! \documentclass{article} ...
3
votes
1answer
173 views

Which are the packages to draw a diagram in LaTex

I'm trying to draw a picture (actually it's more of a diagram) like this but I don't know which packages to user or even even if it's possible to do such a thing using for example TikZ. Thanks in ...
4
votes
4answers
542 views

How can I draw engineer dimensioning diagrams?

How can I draw engineer dimensioning diagrams in LaTeX? For instance, What I currently do is drawing the diagram in MS Visio, save as a pdf file and then embed it into LaTeX. (It is not easy to ...
2
votes
2answers
96 views

Animation with tikzpicture

I currently have a frame with a tikzpicture and nodes. But i d'ont know how to show only one node and the others in gray, next frame will contain some text and the next frame will makes visible the ...
1
vote
0answers
70 views

arrow in a diagram [closed]

in the following code that encodes a diagram: \xymatrix{a\ar[rr]^{\varphi\qquad}&\ar@{^{(}->}[d]&b\ar@{=}[r]&a\ar[rr]^\varphi&\ar[dd]&b \\ ...
2
votes
1answer
72 views

Graphics equations: put text on top of equations

How I can make sometimes the arrow direction up and sometimes down in a one unique tex file (I want to have both of them in a Latex-tex)? Following program make arrow down. \documentclass{article} ...
3
votes
1answer
83 views

Images not aligning below text

I have some text and I want the images I have inserted to show up below it. However when I try to insert the image it appears to move to the next column, How do I have the image to be position ...
4
votes
1answer
52 views

my centering command does not work! why?

I am going to plot a bar histogram using the following command: \documentclass[a4paper]{report}‎ \usepackage{pgfplots}‎ \pgfplotsset{compat=newest}‎ \begin{document}‎ \begin{tikzpicture}‎ \centering‎ ...
0
votes
3answers
124 views

TikZ draw objects with fields

How can I draw using TikZ (or other libraries) something like this:
12
votes
3answers
1k views

Circle made up of a looping squiggly line

I would like to create the following kind of diagram using TikZ/PGF: In words: a circle made up from a thick "random" squiggle. This squiggle style comes from David Mumford in his description of ...
0
votes
2answers
96 views

How to draw a chart with Diagonal Arrows?

How may I create this chart? I thought that through a table it would be fine but the arrows were short and a little bit misplaced \begin{tabular}{ccccc} & & & & \\ ...
1
vote
0answers
120 views

Creating figures in LaTeX [closed]

Sorry if this doubles some other question, but I failed to find the right answer. I am using LaTeX for writing math papers. However my knowledge of LaTeX and other computer programs is rather ...
3
votes
2answers
145 views

Boxes within a Dotted Box

How do I create the dotted box? For the rest of the diagram I used a matrix, but I'm having trouble creating that box. Here's the code I used. \begin{center} $\begin{matrix} $ x(n)$\rightarrow ...
1
vote
1answer
104 views

Parallel Boxes - Identity

how do I make this identity? Is there any way to type it without the use of tikz? Thanks (My biggest problem is how I type the connected boxes)
0
votes
3answers
106 views

Taylor's diagrams package : set color of individual elements

In Paul Taylor's diagrams package, is it possible to set the color of specific elements in a diagram? If so, how? I have tried using \color{a_color}. It changes the color of part of the diagram, but ...
3
votes
1answer
140 views

How to draw an unrooted phylogenetic tree?

I have a problem! I want to draw an unrooted phylogenetic tree like this one: (Image taken from commons.wikimedia) I've tried with the package newicktree, but without success! Anyone can help me ...
2
votes
5answers
190 views

How to make the simple three square box and connect them?

I want to make the three square box and simply connect them.
3
votes
1answer
38 views

How do lines of \framebox'es line up?

I want to stack boxes. The frame lines of the boxes should be exactly on top of each other. The original question However, when I define two boxes, so that one starts where the other ends (spatially ...
3
votes
1answer
185 views

group actions in diagrams

I am currently finishing a math paper where I have several diagrams with group actions and just plain morphisms. I need the proper denotation for group actions (a round arrow). Currently, the code ...
2
votes
1answer
208 views

Tikz Circle Divided into Quadrants

I'm trying to create a circle, divided into four quadrants by a dashed "cross", where the top slice is slightly smaller than the bottom slice. I want to label the four quadrants with labels a, b, c, ...
2
votes
1answer
62 views

Write diagrams without a separate style file

I have submitted a paper to a journal and it has been accepted. But after sending them the final tex.file for publication, today I have received the following message from them: "Some of your ...
1
vote
1answer
147 views

Position of labels as updated in a beamer slide tikz block

I am having trouble with updating labels of tikz blocks in a beamer presentation. So far I have been using \onslide to update the block size and location from code in this answer. For the label text, ...
2
votes
2answers
105 views

Problem with drawing of flowchart

I am trying to draw a flowchart. But the nodes are getting overlapped. This is the code: \documentclass[12pt]{article} \usepackage{cite} \usepackage{graphicx} \usepackage[a4paper, margin=1 ...
3
votes
2answers
141 views

Why does this not compile in LaTeX PDF mode?

The following, just compile when I do XeLaTeX mode. You can modify so I can build PDF LaTeX mode? \documentclass[pstricks,border=15pt,12pt]{standalone} \usepackage{pst-plot} \begin{document} ...
2
votes
2answers
261 views

Custom shapes in Process Flow Diagram with Tikz

I’m trying to draw a process flow diagram using tikz. I'm not an expert, expecially in working with custom nodes. I saw some other questions about chemical process flow diagrams, but they were ...
1
vote
1answer
155 views

How to create LaTeX example codes using verbatim and large braces?

I read this question it's useful but isn't exactly what I need. My problem consists in create an array, table or something like that with two columns. In the left one I need to put LaTeX code with ...