The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
0answers
18 views

Producing curved lines connecting AVMs

I'd like to have curved lines connecting AVMs and I currently have the following: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{avm} \usepackage{tree-dvips} \begin{document} \...
3
votes
1answer
105 views

How to draw “flag format” lambda derivation diagrams as used in the book Type Theory and Formal Proof: An Introduction

I'd like to draw "flag format" diagrams for lambda derivation as used in the book "Type Theory and Formal Proof: An Introduction". Below is an example in Chapter 2 of the book. How can I do it? Thanks....
6
votes
3answers
2k views

How to draw 15-puzzle in LaTeX

I need to draw 15-puzzle in LaTeX, that is, a diagram of a 4x4 grid with numbers inside. Could you please recommend me a package for doing this and some example code?
2
votes
3answers
72 views

Parametric Plots Using Latex

I want to create a plot of the following parametric equations: x(t)=t*sin(t), y(t)=t*cos(t) -3pi/2 <= t <= 3pi/2 Also, I want to show the tangent line on the same chart, which is: y-o = (-pi/...
0
votes
1answer
58 views

3D bang/boom shape in Tikz

I'm looking to make a schematic diagram, showing the interaction of two particles. I currently have a 2D star, however, this looks out of place against my 3D particle. Are there any suggestions of 3D ...
1
vote
2answers
52 views

I want to write as the diagram in the picture down

\documentclass[12pt]{report} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage{mathtools} \usepackage{hyperref} \usepackage[utf8]{...
0
votes
2answers
90 views

Asking tikz code for this diagram

Can someone provide me the tikz code for the following diagram? Any help would be appreciated. Thanks so much
1
vote
1answer
66 views

Recreating this image using Tikz with flattened circle

I am trying to recreate this image: I'm however struggling with the flattened circle shape in the centre as well as getting the curved lines for focusing. My current attempt has allowed me to get ...
2
votes
1answer
33 views

Interrupting edges for node text when the background is non-white

In interrupting edge in automata, a simple way to interrupt an edge is given. It is simple and helpful, iff the background happens to be white (or at least a determined single color). Is there a way ...
0
votes
1answer
61 views

I want to draw Hasse diagram in table, how can I do?

I want to draw Hasse diagram of some partial order relations on common universal set in tabular representation. An example of this is as in the picture (of course, it has to be math form). ...
1
vote
1answer
33 views

How do I rotate labels in a tree diagram drawn with forest?

I am in the process of drawing a huge tree diagram that I want to fit on a single page (at the moment it does not fit on an A1 page). A simple way to do this would be to rotate the labels. I know this ...
1
vote
1answer
33 views

Aligning vertical bar columns and labels nicely

I am trying to draw (in pgfplots) bar diagram similar to this: When I do like this: \begin{tikzpicture} \begin{axis} [ title = Energy in MJ (million joules) to generate \$1, xbar, y=...
3
votes
1answer
87 views

How to draw these images with TikZ?

I had once the need to use these graphics: It seemed to be a simple table, but I was not able to draw randomly while crossing table lines, but with respect to the cell's coordinates (like in the ...
0
votes
1answer
34 views

How would you reproduce this vertical adjunction diagram?

How would you reproduce the diagram below? I was attempting with xymatrix, but I don't know how to get sufficient space between the two arrows to fit the vdash symbol, while keeping the arrows ...
0
votes
0answers
36 views

$\epsilon-\delta$ graph

I'm wondering if it's possible to do something like this in Latex? I have seen the similar question here, but I'm wondering if there is a way to shade, have dotted lines, and have the dot? Ideally, I'...
0
votes
0answers
26 views

How to draw a two-way branching Hasse diagram with Tikz?

I wanted to draw Hasse diagrams with Tikz. I've managed to draw a upside down tree, but I want to add two branchings under the root node. How could I do that? \begin{tikzpicture}[grow'=up] \Tree [....
2
votes
2answers
88 views

How to draw this diagram with three boxes in TikZ?

My goal is to make a Tikz picture that looks like the example with the white boxes and letters inside. This is what I did so far (my example has gray boxes). I am not sure how to stack it evenly as ...
0
votes
0answers
22 views

Placing frame on top of frames, using XY matrix

I'd like to add a diagram to a writeup, emphasizing something is in common to two (distinct) things. How could a diagram as follow be typeset using xy-pic? Alternatives also welcomed.
1
vote
2answers
44 views

Problem with drawing a straight line using the picture environment in LaTeX

I am new to learning LaTeX, and I am using WinEdt 10 as the editor. I have an encountered a problem when trying to draw a right angle triangle of sides 40,30 and 50. I am using picture environment ...
2
votes
1answer
71 views

Looking for LaTeX-based images of cowboys and cowgirls

Odd request, but is there one? This is the closest I found.
1
vote
3answers
174 views

Help with recreating a diagram

I'm hoping that some wizard is willing to help me recreate a diagram for my dissertation in LaTeX (tikz?). The original has been generously created for me by my advisor. She has consented to my ...
2
votes
1answer
41 views

How to make the content in a box (diagram) be centred?

How to make the content in a box (diagram) be centred? \documentclass[12pt, tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta, backgrounds, chains, ...
4
votes
2answers
493 views

Drawing a complicated Flow Chart (diagram) in Latex

I am relatively new to drawing a flow chart in Latex. Started with this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{...
2
votes
1answer
83 views

Graphs of Lie algebras in Latex

For example, I have this \documentclass[12pt,reqno]{book} \usepackage{dynkin-diagrams} \begin{document} \[ \begin{array}{cc} A_1 \times A_1 & \dynkin{A}{1}\dynkin{A}{1} \\ A_2 & \dynkin{...
0
votes
1answer
44 views

Why labeling these nodes with an equation doesn't work?

\begin{tikzpicture} \node[state] (x11) {$X_1^1$}; \node[state, right of=x11] (x12) {$X^2_1$}; \node[state, right of=x12] (x13) {$X^3_1$}; \node[state, right of=x13] (x14) {$X^4_1$}; \node[state, right ...
1
vote
1answer
45 views

Centering multiple nodes below another, connect with multiple arrows

I'm in the process of learning tikz for creating diagrams, and wish to recreate the following (but with the text in B* rotated): Thus far I have the following: \documentclass{standalone} \usepackage{...
2
votes
1answer
166 views

Drawing 3 circle (diagram) in Latex

I am relatively new to diagram in latex. Basically, I want to draw a diagram as shown below. It does not be exact same, but around that content. \usepackage{tikz} \begin{tikzpicture} \draw (2,2) ...
0
votes
2answers
135 views

How to draw Witten diagrams in XeTex?

I am trying to reproduce the following diagrammatic equation of Witten diagrams in XeTex. I have downloaded the TikZ package, but I'm still beginner. Any help would be appreciated!
0
votes
0answers
48 views

Packages for drawing hydraulic circuit diagrams

I am looking for a package to easily create diagrams of hydraulic circuits like: source
0
votes
0answers
28 views

Package for drawing control system diagrams with symbol of frequency response functions inside the boxes

I am looking for a way to produce control system diagrams with symbols stating the kind of the unit inside the boxes instead of a function. Something like this (notice the symbol for the integrating ...
3
votes
2answers
271 views

graphs in latex

I am trying to build some kind of a tree, but in its node instead of a symbol I want to put a framebox. Also, in that framebox at a specific position I want an other framebox. While I couldn't find a ...
2
votes
1answer
50 views

Tikz text in Nodes

I found the following code for the representation of a Neural Network in another thread: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix,chains,positioning,decorations.pathreplacing,...
0
votes
0answers
42 views

Including Function Plots in a thesis

I am currently writing on thesis, where I plan to include quite a few function plots. The functions I am talking about are mostly polynomial functions (domain and range are real numbers). However, I ...
1
vote
2answers
86 views

How do you draw this cross-line reference table/diagram in LaTeX?

How do you draw this in LaTeX: My approach would be enumerate for the list and tabular(x) for the table, but I don't know how to make the crossing arrows across tabel cells (if possible at all)... ...
0
votes
0answers
41 views

Vector of 12 elements in a rectangular block on a flowchart (Continue of…)

Continue of: Vector of 12 elements in a rectangular block on a flowchart Additional questions, the answers to which I did not find in the manual: How to insert a function graph into a flow chart (...
1
vote
1answer
93 views

Block diagram using latex

How to make a simple block diagram using latex e.g. I would like to make a block diagram as shown in pic.
4
votes
2answers
173 views

Making pause in a diagram

\documentclass{beamer} \usepackage{tikz-cd} \begin{document} \[\begin{tikzcd}[sep=huge] \mathcal{H} \arrow[d,"W_A" swap] \arrow[r,"T"]& \mathcal{H} \arrow[d,"W_A"] \\ \mathbf{R}(A^{1/2}) \arrow[...
4
votes
3answers
71 views

Drawing matrices on arrows of a short exact sequence (commuatative diagram)

I want to draw a short exact sequence using the tikz-cd package. But I want the labels on some of the arrows to be matrices. I can´t seem to make it look good. The arrows are not approtiatly sized and ...
15
votes
4answers
812 views

Feedback diagram

I want to create a feedback diagram similar to I managed to get the following: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usetikzlibrary{...
1
vote
0answers
23 views

Using non-numerical ranges in Tikz bar plots [duplicate]

I am trying to draw a horizontal bar plot using Tikz and I would like to use non-numerical tags for the x axis. More precisely, I have the following diagram: and I would like to change the numeral ...
3
votes
1answer
71 views

How to draw a rectangle with arrows?

I want to draw an image given in the picture. Till now I have been able to draw only \documentclass{beamer} \usepackage{mathtools} \usepackage{array} \usepackage{amsmath} %\usetheme{Boadilla} \...
2
votes
3answers
173 views

How do I make a commutative diagram with LaTeX? [duplicate]

How do I make a diagram like this? Thanks in advance
1
vote
1answer
37 views

Creating a page tiled with diagrams, for chess tactical puzzles worksheet

(This is my first time using StackExchange, please excuse how sloppily this question is phrased) I am using the skak package to create diagrams/positions for chess puzzles I would like my students to ...
3
votes
1answer
104 views

How to Create an Image for Cantor's *Diagonal Argument* with a Diagonal Oval

I would like to produce an illustration for Cantor's diagonal argument, something like a centered enumeration of $4$ or $5$ decimal expansions $x_{i} = .d_{i1}d_{i2}d_{i3} \ldots$, and then insert a ...
0
votes
0answers
31 views

Type overlapping math expressions without errors/warnings in overleaf

I was wondering if anyone knows if there's a way to write math expressions (formulas, integrals, sums, limits, equations, etc) and have them overlap and be written slanted or upside-down or other ways....
3
votes
1answer
60 views

Programmatically Illustrating an Expansion Permutation

Based on the discussion over here, I drew this: With this code: \documentclass[tikz,border=3.14mm]{standalone} \usepackage{tikz} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
1
vote
0answers
45 views

Neural network diagram labeling issue

I have a neural network diagram drawn by using the package neuralnetwork. I have problem with labeling. The labels from input to hidden layers should be 1,2,3,4,5,6 but the code give me 1,2,3,1,2,3. ...
1
vote
1answer
79 views

LaTeX formatting with Tikz

I am pretty new to Tikz. I am wondering how one would go about separating their text from a diagram. For example, if I were to write a short geometric proof, and I have a diagram and an explanation, ...
0
votes
0answers
43 views

Auxiliary drawing tools

I am a beginner, drawing with tikz is a bit difficult for me. Is there an auxiliary drawing tool that is suitable for beginners? Especially drawing three-dimensional graphics.
0
votes
1answer
73 views

How to draw such a network diagram on LaTeX

I am quite new to latex and I would like to know how to draw the following network diagram from a Markov Chain. Thank you.