Questions tagged [diagrams]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Looking to draw this block diagram in Tikz

I'm looking to create something like this in Tikz environment. Any tips? help?
Teron Matton's user avatar
122 votes
6 answers
322k views

Is There an Online Diagram Graphical Editor that Produces the Corresponding LaTeX Code?

Is there an online tool that generates the corresponding LaTeX code of a diagram which can be drawn using a graphical interface? A tool such as latexdraw but only using a web browser (like Detexify)?
Titi's user avatar
  • 1,221
44 votes
7 answers
7k views

Generate analog clock with numbered face, add seconds, Roman numerals

Looking at the excellent answers here, I can't help wondering how I can accomplish two apparently simple modifications: I wanted to be able to generate a traditional Roman-number clock; It would be ...
user avatar
37 votes
4 answers
28k views

Node shapes in TikZ

I want to draw a block diagram for a software app and I need two shapes which I couldn't find on the Internet. The shapes are a parallelogram and a rectangle with double side margins. One is for data ...
andrasi's user avatar
  • 887
33 votes
1 answer
16k views

Cisco Icons for network diagrams

First of all thanks for this great site. My foray to Latex has been easier than I thought. My company are producing technical documentations of as-built network projects from Structured Cabling to ...
nellix1's user avatar
  • 433
28 votes
4 answers
12k views

Is there an easy way to TeX geometric pictures?

Say I want to include geometry graphics such as the following in a document: I don't merely want to import preexisting figures, I want to be able to draw my own corresponding to a solution I may ...
yunone's user avatar
  • 3,259
25 votes
6 answers
9k views

Need recommendations for a drawing tool in LaTeX

I have never used a graphing tool in LaTeX but now I need to draw a picture. It is not very complicated: an xy-plane with axis; a number of points; a number of straight lines and finally two ...
Hesam's user avatar
  • 1,971
19 votes
2 answers
3k views

Wordle-like word clouds - can it be done without using an image?

I have seen the answer to this question: Wordle-like word clouds So yes it can be done by generating an image and inserting it, but that's kind of cheating. I'd like to be able to generate a word ...
flesh's user avatar
  • 1,241
17 votes
3 answers
10k views

Grouping objects and applying operation to the group

Forgive me for my perhaps naive questions, I am beginning to discover Tikz potentials. To ease certain operations as moving objects or transforming them, I want to know if there is a mechanism in ...
artimess's user avatar
  • 4,301
16 votes
1 answer
3k views

Drawing a complete ER Diagram in Crow's foot style by TikZ

I need to draw a ER digram in Crow's foot style in LaTeX. After some search I found: Creating crow's foot style E-R diagrams, rather than Chen-style ones However, I found this style was not "...
Travis's user avatar
  • 163
16 votes
3 answers
4k views

Asymptote: draw surface from data points in 3D

In the figure below, you can see 25 curves. Each of these curves was plotted from a list of points in a file mypoints_i.dat. Each of these files contains the exact same number of points. How would ...
anderstood's user avatar
  • 2,196
15 votes
2 answers
3k views

Which are the advantages of TikZ over GeoGebra?

Now I have been using GeoGebra for a considerable amount of time and therefore I am rather experienced using it. Creating graphs, plots and geometric figures can be done in a matter of minutes. Often ...
N3buchadnezzar's user avatar
15 votes
5 answers
3k views

Drawing a regular polygon encompassed by a circle

I would like to replicate the sort of diagrams shown below - a regular polygon in dashed lines encompassed by a solid lined unit circle with vectors going from the origin to each labelled vertex in an ...
Alex's user avatar
  • 887
14 votes
3 answers
2k views

Any package for matrix diagram?

Do you know if there is any LaTeX package available to create charts like these? (Source)
muffel's user avatar
  • 1,565
13 votes
3 answers
3k views

callout and beamer

I am trying the callout code that Andrew has provided at How to open a temporary comics-like balloon in a beamer slide?, but I am getting an error: Undefined control sequence. \pgf@sh@bg@ellipse ...
Tamer's user avatar
  • 131
13 votes
1 answer
7k views

Display Database Instance Relationship with TikZ

I'm trying to display all of my corporate database instances and their relationship to each other, so to speak the database links. I found the geometry shape cylinder using TikZ \usetikzlibrary{shapes....
Chris.V's user avatar
  • 721
13 votes
2 answers
6k views

Block Diagrams Multi Input - Multi Output Components in TikZ

My problem is to define blocks (mainly rectangles) that has labels in them in terms of matrices (mostly block diagonal) such that the n-many arrows that goes in this rectangle visually is at the same ...
percusse's user avatar
  • 158k
13 votes
2 answers
4k views

How to get a 4 by 4 chessboard? Or any other size of board.

I've seen some package to draw chessboard on LaTeX such as skak and chessboard. However, after reading the documentation, they don't seem to support a change of the board size. I'm talking about the ...
tmoisan's user avatar
  • 233
11 votes
4 answers
2k views

How to create a modern-looking circular score counter using tikz?

How can I create a "score counter" like the one in the picture, so that I can set a maximum for any circle and add as much concentric circles (counters regarding the same thing) as I want? The ...
Aurelius's user avatar
  • 7,663
10 votes
1 answer
3k views

Tikz: Avoiding line segments in snake path

I am using tikz to draw Feynman diagrams, and I learned how to draw a curved snake path. The problem is that in general line segments are present (I'd like to avoid them). I found a couple of post ...
Dox's user avatar
  • 5,749
10 votes
1 answer
4k views

Block diagram with Tikz

It's the first time I'm using Tikz on Latex. I have to draw this block diagram (this is a low resolution snip from a paper) In Tikz I have done this: That is very similar but I need some adjustments,...
Betelgeuse's user avatar
10 votes
2 answers
548 views

Illustrating symmetric key distribution

Can I draw something like this programmatically with LaTeX? I drew these with Adobe Illustrator, but it gets pretty time-consuming. Even with relatively few nodes. What it attempts to demonstrate ...
voices's user avatar
  • 2,039
9 votes
2 answers
2k 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: \...
cheyne's user avatar
  • 207
8 votes
1 answer
17k views

Plotting a piecewise function

I'm trying to learn to plot in latex, but I'm having a problem trying to find out which packages that are best to use in this situation, and I find it a bit of a learning curve. Suppose you have the ...
Hatze's user avatar
  • 83
7 votes
3 answers
3k views

Is there a way to make "sunburst charts" (multi-level pie charts) in LaTeX?

Would like to make a "sunburst chart" such as this one in LaTeX: I searched for Tikz examples and questions, but couldn't find anything fitting this description. Is there a way to make these, using ...
ajiji's user avatar
  • 79
7 votes
1 answer
4k views

How to draw path with alternating colors

I want to draw a path where edges have alternating colors, like: Ideally I want to use \draw[red] (3,0)-- (3.5,0.5) -- (4,0.2) -- (4,-0.2) -- (3.5,-0.5) -- cycle; But this can only specify a ...
gondolier's user avatar
  • 243
7 votes
1 answer
17k views

Creating triangle commutative diagram with tikz-cd [duplicate]

I've just started using TikZ and need to create a simple triangle commutative diagram like this one. The closest I've been able to get is this. How do I get the h arrow to go from A2 to A3? ...
jaia's user avatar
  • 173
7 votes
4 answers
4k views

Drawing randomly ragged lines in technical drawings

I am having issues getting started on drawing a randomly ragged line, with finite variation, between two endpoints. The random function which uses variable rnd I think can be used, for instance, ...
Gottfried William's user avatar
6 votes
2 answers
4k views

How does one draw a momentum arrow along a line in feynmf?

When drawing a Feynman diagram, one often wants to label each line and draw the momentum arrows. How can one draw a satisfactory momentum arrow? Take for example electron-muon scattering, where I've ...
Betohaku's user avatar
  • 1,637
6 votes
2 answers
5k views

How to draw vertical spiral using TiKZ?

I want to draw the following diagram : I have tried to draw the diagram using the following command : \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[dotted] (...
Texmad's user avatar
  • 61
6 votes
2 answers
2k views

Saving vertical space in tree diagram

I have many nodes on one tier. Thus I use the grow east option already. But this is not enough... I would like to save a bit more vertical space for instance through pulling two of the branches a ...
Eric's user avatar
  • 683
6 votes
3 answers
8k views

Can I draw my graphs (graph theory) with TikZ online?

I have a problem, I'm a master student, and I'm writing my thesis (graph theory) in LaTeX. Can anyone help me to find an online website to draw graphs and then insert the code in LaTeX online?
Maryam Fasfous's user avatar
6 votes
1 answer
803 views

Circuitikz Arrowhead

Code: \documentclass[12pt]{article} \usepackage{pgfplots} \usepackage{float} %\pgfplotsset{compat=1.16} \usepackage[american,siunitx]{circuitikz} \usepackage{tikz} \usepackage{siunitx} \usetikzlibrary{...
Superman's user avatar
  • 1,615
5 votes
6 answers
2k views

How can I draw a chessboard missing two diagonally opposite corner squares?

How can I draw of a mutilated chessboard, i.e. missing two diagonally opposed corner squares? Using the chessboard package, I can only draw a full chessboard...
benedito's user avatar
  • 4,610
5 votes
1 answer
1k views

Tikz for Gabriel and Auslander-Reiten quivers

In the context of representation theory, direct graphs —known there as quivers— appear all the time. Here are a few samples (from the book of Assem, Simson andSkowroński) First, a couple of gabriel ...
Mariano Suárez-Álvarez's user avatar
4 votes
1 answer
16k views

Drawing a Neural Network architecture [duplicate]

I need to draw an image like this: I saw this and this, but I could not modify it properly. Basically, I could not write the on the labels. Need your help.
hola's user avatar
  • 4,026
44 votes
6 answers
66k 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 of arbitrary proportions? Minimum working example can be something like this:...
Yauhen Yakimenka's user avatar
40 votes
10 answers
7k views

Drawing the dragon curve

I'd like to draw the dragon curve (or paper-folding curve) in a programmatic way. For example, create a sequence representing the curves, and then parse the sequence to draw the curve. The sequence ...
Werner's user avatar
  • 604k
37 votes
3 answers
3k views

Draw a coat of arms in LaTeX

Over at academia.sx we are trying to create a community ad to try and get us promoted out of beta. We are looking to create a university type coat of arms/seal. I have seen some really great artwork ...
StrongBad's user avatar
  • 20.5k
34 votes
3 answers
13k views

Molecular orbital diagrams in LaTeX?

This question led to a new package: modiagram I'm wondering if anyone has seen a package for drawing (qualitative) molecular orbital splitting diagrams in LaTeX? Or if there exist any packages that ...
Richard Terrett's user avatar
31 votes
3 answers
3k views

A circular table? (where the rows form concentric circles)

I would need to make a table where the rows consist of concentric circles. That is, row 1 is forms the innermost circle; row 2 the second circle; row 3 the third circle and so on. The columns would ...
Mårten's user avatar
  • 2,194
26 votes
7 answers
3k views

Draw a $\epsilon$ neighborhood

I would like how to draw a $ \epsilon $ neighborhood of a set with smooth boundary in "tikz". \documentclass[tikz, border=5mm]{standalone} \usepackage{tikz} ...
Math's user avatar
  • 459
26 votes
2 answers
5k views

Drawing the Trace Determinant Diagram on LaTeX

I wonder how beautiful it would be, if we could draw the trace determinant diagram with TikZ or any other package on LaTeX. Image source Edited: Here is my MWE: \documentclass[10pt]{article} \...
Maryà's user avatar
  • 4,830
20 votes
4 answers
5k views

Noisy, analogue waveform in TikZ

Is there an easy way of drawing a noisy waveform in TikZ? I know you can draw a simple sinusoid by repeatedly using cos and sin for every half-period, but doing that for a noisy waveform seems like a ...
jodles's user avatar
  • 429
19 votes
4 answers
3k views

Plot to illustrate secant lines

I am trying for teaching purpose to explain how basically linear regression might work and how it could be extended. Since I am not the TeXpert I fear that my idea might be tricky and more difficult ...
LeO's user avatar
  • 1,451
19 votes
1 answer
3k views

Waterfall Chart

For displaying the total effect of a series of values, a waterfall chart can be useful. For example this chart, taken from The Economist, illustrates estimated efficiency potentials in the UK public ...
maetra's user avatar
  • 4,560
17 votes
6 answers
24k 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[] (server) ...
Vesa's user avatar
  • 173
17 votes
4 answers
1k 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}
user avatar
17 votes
3 answers
9k views

How do I draw parallel arrows in commutative diagrams with TikZ?

How do I draw two parallel arrows having the same domain and the same codomain in a commutative diagram with TikZ? For that matter, how do I draw any sort of parallel paths between two nodes? Do I ...
user avatar
16 votes
6 answers
2k views

Vertical spiral: from old fashioned to tikz

I'm trying to draw in tikz the following figure taken from an old book: I tryed with standard spiral as suggested in How to draw vertical spiral using TiKZ? but the result is not satisfactory. Can you ...
Giuseppe Joseph Peppe Arnone's user avatar

1 2
3
4 5
17