We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
28 views

How to draw feasible set in Latex with indifference curves

Hi I want to draw this in LaTex but i have not succeded in drawing the feasible set or the indifference curve. I have very litlle experience with LaTex but I can tell from other questions that I ...
3
votes
2answers
85 views

Include a path in a table

How to include such a path in a table? this is the code proposed by @Schrodinger's cat with and the problem is when I changed "jeu" to "game" the result is not good: \documentclass[border=3mm,tikz]...
2
votes
1answer
26 views

Text size using tikz-cd

I've written this diagram using tikz-cd \documentclass{article} \usepackage{tikz-cd} \usepackage{amsfonts} \begin{document} \begin{tikzcd}[row sep = huge, column sep = huge] & \makebox{Spin(...
-1
votes
0answers
34 views

Tikz tapered stroke/path profiles

Is it possible to apply different path profiles when drawing lines (i.e. strokes) with TikZ? For instance here are eight identical copies of the exact same Bézier curve with various different path ...
2
votes
2answers
32 views

pgfplots: Change legend shape

I have this code... \documentclass{article} \usepackage{float} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} \pgfplotscreateplotcyclelist{colour-list}{ red,style={fill=red}\\ orange,style={fill=...
3
votes
1answer
77 views

How to make this TikZ picture more idiomatic? (environment diagram)

I am re-typesetting a picture (Figure 3.9) from "Structure and Interpretation of Computer Programs": The result of my TikZ musings is the following: Please, ignore the white-ish main colour, I want ...
-1
votes
0answers
42 views

Hasse Diagram on LaTeX [duplicate]

I am trying to make a diagram that looks like this using tikz on LaTeX but don't know how to. I have looked everywhere online and can't seem to find what I am looking for. Can someone please help?
2
votes
1answer
29 views

How can we change the positions of the labels on a Tikz-cd commutative diagram?

With this code \begin{tabular}{cc} \begin{tikzcd} & B \arrow{dr}{g} \\ A \arrow{ur}{f} \arrow{rr}{h} && C \end{tikzcd} & ...
0
votes
2answers
65 views

automating recursive file hierarchy (directory tree) diagrams with tikz

So, I've been trying to write a python script that will produce the TikZ/LaTeX source code for one of these filesystem tree / directory structure diagrams: Preview Code LaTeX: TikZ \...
2
votes
2answers
95 views

making a horizontal axis in the picture environment

Hi: I'm a latex novice but I managed to make the picture below. The thing that I don't know how to do is make it clear that the first box runs from 11:00 -11:01, the second box runs from 11:01-11:02, ...
0
votes
0answers
21 views

Figure title created from picture's name - why? [duplicate]

Can anyone tell me why I'm getting that extra title (picture's name .jpg at the top)? I don't want to include it.
13
votes
5answers
2k views

Can we rotate symbols in LaTeX? How should we make this diagram?

I would like to insert this diagram Into my LaTeX document. However, I don't know if it is possible at all to rotate symbols, and how they could fit into a diagram (notice that the \cong symbol has ...
6
votes
0answers
61 views

Kinematics CAD package for LaTeX

Do any good libraries exist for drawing kinematics diagram in LaTeX. I am looking for something similar to the following image.
4
votes
1answer
33 views

How can I change the size of the labels of a diagram made with tikzcd?

I am writing a LaTeX document with lots of diagrams, however, I just found out their labels are too small to be read. For example, take a look at the diagram \begin{tikzcd}[row sep=large,column sep=...
1
vote
1answer
28 views

How to make a diagram bigger in Tikzcd?

I have the following diagram in LaTeX \begin{center} \begin{tikzcd} \vdots \arrow[d,"\partial_{p+2}^C"] & \vdots \arrow[d,"\partial_{p+2}^D"]\\ C_{p+1} \arrow[d,"\...
2
votes
2answers
45 views

filesystem tree diagram shows strange iteration behaviour

I found this (the one on the left) on TeXample.net. I made the one on the right, based on the same code. I was hoping I might be a be able to write a script to map out a real filesystem. I decided to ...
1
vote
0answers
46 views

tikz: put figure (no graphic) inside axis environment

Is it possible put a code-made figure (not loaded externally) inside an axis environment? In barely words, a code-made figure in place of a "ordinary" plot. In this code, there is what I would like to:...
0
votes
1answer
47 views

How do I create blocks of lines with TikZ with text beside it?

I would like to create blocks of lines with text beside on the left for explanations for example as shown in this image Does anyone know how I can recreate this ? Thanks.
0
votes
0answers
40 views

Cumulative bar graph with tikz

I've got some bar graphs that look a bit like this: Wondering if it's possible to make them look like this below (I've been calling it a cumulative bar graph, but now that i think about it, perhaps ...
0
votes
1answer
43 views

How can I fit a picture in LaTeX (regarding to being center and also fit height and its width)?

I try to put my picture in a page, my picture is a little bit large. I try this way, it does not give me the best answer, some part of the image is cut. I also try [width=\0.5] or [scale=\0.6] or many ...
1
vote
1answer
61 views

Draw a simple 2 line using Tikz

Can we easily draw a picture like below? Where should I start from?
0
votes
1answer
40 views

Intersecting Eulero-Venn diagrams at the bottom plus arrows

I'm struggling to produce a picture like this with TIKZ. The usual Eulero-Venn diagrams intersect at the center. I want them to make the intersection at the bottom, so there is space for the arrows. I ...
0
votes
0answers
12 views

What is wrong with that code in picture environment? It does not show of the lines, just the labels

\setlength{\unitlength}{0.25mm} \begin{picture}(400,140) \put(50,20){\begin{picture}(100,100) \Thicklines \path(0,0)(100,0) \path(90,-5)(100,0)(90,5) \path(0,0)(0,100) \path(-5,90)(0,100)(5,90) \...
4
votes
3answers
94 views

Picture and tabular [duplicate]

I would like to insert a picture in a table just like this (made with word) : In LateX I wrote this : \begin{tabular}{|m{8cm}|m{2.5cm}|m{2.5cm}|}\hline Représentation sur la droite & ...
4
votes
2answers
328 views

How to divide a colour wheel into n segments

Sometimes when drawing a diagram, you want a certain number of similar objects of different colours, but the number might vary and you don't want to have to go through and manually define and assign ...
-1
votes
4answers
111 views

Diagram of field theory

I want to write this picture in LaTeX, what is the code?
0
votes
3answers
106 views

code of this picture

What is the code for write this mapps in this picture?
1
vote
0answers
32 views

Producing curved lines connecting AVMs [closed]

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
126 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
85 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
65 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 ...
0
votes
2answers
61 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
95 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
69 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
34 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
73 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
38 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
35 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
96 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
35 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
40 views

$\epsilon-\delta$ graph [duplicate]

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
30 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
104 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
23 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
50 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
72 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
176 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
42 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
628 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{...