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
3
votes
1answer
114 views

Simple tikzcd diagram with one branch

My goal is to have a simple diagram with A followed by a right arrow to B followed by two 45 degree arrows, one which branches up to C, and which branches down to D. Can anyone please help me repair ...
0
votes
1answer
54 views

Drawing a certain figure

I know it's too much to ask but can anyone please help to draw this figure? Colorized would be amazing ! Thanks in advance.
0
votes
1answer
65 views

making a diagram in latex

I have seen the picture one wanted to make like that. But I have tried in the smart diagrams, but the central point is not there along with those arrows. I am writing my thesis for the final ...
0
votes
2answers
79 views

How can I easily design this lattice?

I have a question: how do I use latex so that it can replicate this structure (latex)? Unfortunately I don't know the libraries very well. It would be useful for me to understand how to draw certain ...
1
vote
2answers
76 views

How to draw rotational level diagrams in LaTeX?

The gorgeous picture below represents the relation between the quantum number J and a interesting parameter - the Ray asymmetry parameter -, which relates the three dimensional inertia moments of a ...
0
votes
1answer
83 views

How can I draw this diagram that has nodes and arrows?

How can I draw this ? A related diagram (more complicated) is here Tikz draw neural network outline I did tried to modify the code provided by @Zarco but I just could modify the nodes. I end up ...
0
votes
0answers
11 views

How can I make sure the picture I inserted in latex to be where i want it to be? [duplicate]

I'm writing a paper on Overleaf and I inserted a picture to explain a definition. But it somehow doesn't show on the page where I want it to be. It always shows on the last page of my paper. Please ...
2
votes
0answers
53 views

Diagram making for latex organizational strength

I want to make such a kind of diagram for my thesis. Can someone help me to make one like this? I am not able to find any template like this anywhere.
0
votes
5answers
112 views

Drawing convexity relations diagram

How to draw the above diagram in LaTeX. Using TikZ? Please help me out.
0
votes
0answers
35 views

What's the best way to represent logic gates?

So, I'm working on a diagram representing a path but I can't quite get in logic gate symbols, and I don't just want to mark them with points and labels. What's the best way to do this?
0
votes
1answer
50 views

How can I get latex to make a reuleaux triangle, and can I generalize that to other reuleaux polygons?

I'm trying to get a reuleaux triangle, the interior triangle, the radius, and its midpoint. I don't know how to get all of that into the same diagram
4
votes
2answers
74 views

How to draw regular polygons in math mode

I have a series expansion where each term can be associated with a regular polygon. I would like to indicate this in a paper I am writing by including an equation which treats the diagrams like terms ...
1
vote
1answer
52 views

A problem reversing the arrows of a “snake kemma”-type diagram

I tried to reverse the arrows of a diagram like this one Using tikz, I managed to create the following picture (mostly based on what appears in this question) \documentclass{article} \usepackage{...
1
vote
1answer
42 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
102 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
35 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(...
2
votes
2answers
39 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
85 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 ...
2
votes
1answer
32 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
77 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
111 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
81 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
35 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
33 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
52 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
48 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
50 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
45 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
51 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
65 views

Draw a simple 2 line using Tikz

Can we easily draw a picture like below? Where should I start from?
0
votes
1answer
43 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
14 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
100 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
339 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
117 views

Diagram of field theory

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

code of this picture

What is the code for write this mapps in this picture?
1
vote
0answers
35 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
141 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
88 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
76 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
63 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
100 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
71 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
35 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
82 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
42 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
37 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=...