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
2 answers
43 views

How to render a rotated rectangle on certain cells of a table?

I want to render a rotated rectangle over certain cells on the table. Each cell of the table contains only one digit. How to achieve this using Latex?
0 votes
2 answers
47 views

Two pictures side by side in the two columns format

I would like to put two pictures side by side in the two-column template as follows. This is the current code: \documentclass[journal]{IEEEtran} \begin{document} \begin{figure} \centering ...
1 vote
1 answer
48 views

Add a line to tikzcd diagram

I am adapting the diagram in this answer for my needs I need to add two other elements and a line on top of this diagram - think the argument of the function and its image, linked by a straight line, ...
  • 149
0 votes
2 answers
33 views

How can i draw a combination diagram? [duplicate]

I need help making this types of diagrams I tried to use \frac but it doesn't work because I need the equal symbol to be on top, also I tried to use \underline but I don't know if there is some way ...
  • 35
1 vote
0 answers
18 views

How do I make this forest tree shorter without making it wider by adjusting the angles?

I'm having some trouble with this forest tree, my goal is to get it shorter without making it any wider, by adjusting the angles under CP and VP to be wider. When I try using the calign=fixed angles, ...
6 votes
5 answers
837 views

How to make those lines in Tikz?

Here the lines: I have no idea how to make the little bump. If only it were straight lines :) Colors are: green: #9DC634 orange: #F39614 pink: #F39614 purple: #AB7CB5 Thanks for your help
2 votes
1 answer
66 views

How to iterate over a nested list of values in LaTex

my goal is to create a measurement protocol using latex. Since it is going to be used from a software to create protocols, try to implement some automation. Means, i want LaTex to create sections of ...
3 votes
1 answer
101 views

flying sailing drone

\documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{hobby} \begin{document} \begin{tikzpicture} \draw plot [hobby] coordinates {(0,4) (1,3.2) (2,1.5) (2.5,1.2) (3,1) (4,0.8)}; \end{...
2 votes
0 answers
73 views

Creating a map for the info in a document for presentation

In this picture, I am trying to create a map of topics covered in my dissertation. I simply copied and changed elements in something that was already on this website. I will appreciate any further ...
0 votes
1 answer
30 views

Different sizes printed for Feynman diagrams

When compiling the following: % !TeX program = xelatex \documentclass{standalone} \usepackage[force]{feynmp-auto} \DeclareGraphicsRule{*}{mps}{*}{} % for being able to read the produced file \begin{...
  • 45
1 vote
3 answers
375 views

How to create this type of page in LaTex

I want to create sort of repetitive pattern in an A4 page with minimal margin. As a sample image, given with this text. But I am not getting how to do this. Any hint is appreciable.
1 vote
1 answer
59 views

How to draw nodes from a txt file using tikz

So basically, I have a tikzpicture and I would like to include 36 node inside this picture. currently, the only way I know to include them is to write \filldraw[blue] (3.8,3.6) circle (1pt) node[...
1 vote
0 answers
83 views

Please can someone help me to draw the attached figure? [closed]

Please can someone draw the attached figure for me? I have been using latex for a while now but I still find it difficult to use tikz, especially for complex images like this. I will appreciate it ...
0 votes
1 answer
52 views

Putting a plot next to a question [closed]

I would love some help trying to put this graph next to the multi-choice questions. I am using the \tasks command to have it so that the question and graph are next to each other, however now it is ...
0 votes
1 answer
58 views

Adding a diagram in an equation [closed]

I need to reproduce this things in latex, but I don't know how to do it. Could anybody help me?. My knowledge in latex is pretty basic. I have drawn the diagrams using another software. So, is it ...
2 votes
2 answers
46 views

Positioning text next to a picture in tabular [duplicate]

I'm making a list and next to each element of the list I want to put a picture of that element, I'm trying to use tabular, and with that the picture is next to the text, but I want the text to be ...
  • 21
1 vote
1 answer
67 views

How to draw circular markov chain n numer of state diagram in Latex?

The lifecycle is divided into n stages, starting from egg to adult. Individuals can only produce when they reach the adult stage. P11,p22... are survival prob and p12, p23... transition probability R ...
  • 11
3 votes
4 answers
437 views

Draw the x-y-plane with the four quadrants marked in four different colors

I am trying to draw a colored diagram in Latex/Tikz and need some help. I would like the to draw the usual x-y-plane with axes marked in black and the four quadrants marked in four different colors. ...
0 votes
1 answer
76 views

modifying my feynman digram: drawing square and lines coming out of it

I have the following code: \documentclass[border=3mm]{standalone} \usepackage{tikz-feynman} \usetikzlibrary{shapes.geometric} \usepackage{amsmath} \begin{tikzpicture} \begin{feynman} \node[shape=...
user avatar
2 votes
2 answers
149 views

`\path` arrows pinch outward undesirably

I am trying to draw a depiction of a map that sends $1\mapsto 1/2$, $1/2\mapsto 1/3$, $1/3\mapsto 1/4$, etc. The code I have is given as follows: % page setup \documentclass[11pt]{article} \usepackage[...
2 votes
3 answers
71 views

Why does my figure break when I add a label in tikz?

I'm trying to draw a simple triangle, and label the lengths of each side, and I'm trying to use tikz. \documentclass[12pt,letterpaper]{article} \usepackage{tikz} \begin{document} \begin{...
  • 121
1 vote
1 answer
33 views

Is there any simple way to change my bar graph alignment and increase its width on LaTeX?

So I'm pretty new to using LaTeX. I created this bar graph, but it's too wide to fit in my PDF doc. I don't want to rotate the graph. I also need this graph to be aligned to the flush left margin of ...
6 votes
2 answers
457 views

Feynman diagram by LaTex

I have plotted the following with paint: I need to replace it by LaTex. I searched through this website I found some information about drawing Feynman diagram with LateX, but none of them matches my ...
user avatar
0 votes
1 answer
63 views

Creating figures in latex for scientific papers [closed]

I would like to ask if anyone has any experience creating figures in latex for scientific papers and would like to know what libraries are useful to achieve this. If latex cannot be used then what?
0 votes
1 answer
61 views

Domain and range of composite function

I would like to draw in TeX the following, but I'm pretty new at tikz therefore I have no clue. I would like to give the geometrical interpretation of the domain and the range of a composite function. ...
  • 97
0 votes
0 answers
23 views

The Logic behind Reserving a Window for the Picture Environment

What is the point of reserving a space or window when creating a figure using the picture environment? I mean if I have the following setup: \setlength{\unitlength}{0.5mm} \frame{ \begin{picture}(...
0 votes
2 answers
89 views

How to make postage stamp sheet?

I am looking around for template to make postage stamp sheet, with standard sizes and ability to preview stamp cuts. Any ideas?
10 votes
4 answers
468 views

Drawing a mapping diagram showing a relation between two sets?

The following diagram is given: I tried to draw it using table environment, but could not insert the skew arrows properly! Customizing this useful answer, I reached to: \documentclass[a4paper,12pt]{...
  • 517
-1 votes
2 answers
99 views

Arrow in the homomorphism

In the first homomorphism, the latex code for the arrow is either \rightarrow or \to or \longrightarrow. I like the arrow style in the second homomorphism. Can someone show me the latex code for this ...
  • 23
0 votes
0 answers
33 views

Drawing curved reflecting mirrors in latex [duplicate]

I want to draw the following diagram involving two reflecting mirrors. I don't know how to draw them in Tikz. I will be glad if someone can help me drawing this.
3 votes
3 answers
142 views

Creating this tree structure with LaTeX

I would like to easily create tree-like structures like D─┬───────────┬───A R─┬───A─┬─A R─┐ R─┐ R R R D is the top root node. It starts a horizontal line to the right, which ...
  • 167
1 vote
0 answers
47 views

how can I create a flow chart like this in Latex

I want to create a flow chart like the following attached one including images inside. How can I do this?
1 vote
1 answer
39 views

How to insert image on the right side of the table?

I have a problem, I need to put this graphic on the right side of the table on this page. I tried many times and I could do only this case. Probably, I have to raise picture up, so other graphic can ...
  • 13
0 votes
1 answer
112 views

Drawing a simple graph in overleaf/LaTeX

i am trying to create the following graph in Overleaf: I have seen many questions on related sites of people asking similar questions with different types of graphs, however i can't find anything on ...
  • 3
0 votes
2 answers
87 views

How do I add gray grid lines to a three-dimensional plot using pgfplots?

I am trying to use pgfplots to draw a three-dimensional space. Using the following code I'm able to get the axes to show, and I know how to add coordinates and nodes and some other objects: \...
1 vote
1 answer
95 views

How do I import a picture in LaTeX?

I am new to latex. I want to import a picture but failing. The picture is .jpg format.
user avatar
-3 votes
1 answer
52 views

hy , i have to draw some picture i need help thx [closed]

\begin{tikzpicture}[scale=5] \draw (0,0) circle (1); \draw[->] (-1.5,0) -- (1.5,0) node[anchor=north west] {x axis}; % x axis \draw[->] (0,-1.5) -- (0,1.5) node[anchor=south east] {y axis};...
0 votes
1 answer
38 views

How to draw a circle with "venn diagram intersection diamond"

I am wondering how to draw the below picture using tikz The purple part is a venn diagram intersection diamond (sorry I can't think of the better term). I know how to draw a circle but I am not sure ...
-2 votes
1 answer
97 views

How I can I draw a memory map?

It doesn't need to have all the colors in such, but is there a way to do it?
  • 115
3 votes
1 answer
79 views

Drawing an E-R Entity using Tikz

I am trying to define some figures for an E-R diagram. I've already defined the code for relations: \definecolor{RelationColor}{HTML}{E7DBF3} \tikzset{ relation/.style = {draw, diamond, text = ...
2 votes
2 answers
104 views

How to draw a heating element in TikZ

I am attempting to re-create a circuit diagram that contains a heating element using circuitikz but am having trouble drawing the element itself. I have tried using the spring shape found in section 4....
8 votes
4 answers
397 views

Draw a tangent to curve at specified angle using tikz

I would like to draw a tangent line to a curve, and I know there are elegant solutions to do so (eg. How to draw tangent line of an arbitrary point on a path in TikZ). However, these approaches ...
  • 800
1 vote
1 answer
102 views

How do I make a "definition" template as shown?

Recently I started taking notes in LaTeX and wanted to know how I could make a reproducible "definition" template as shown below. As shown in the images the sizes of the orange line vary ...
-1 votes
1 answer
63 views

How do I draw this pendulum with the pendulum displaced to the right instead of the left? [closed]

Hi, can somebody help me draw this diagram but with the pendulum displaced to the right? I'm new to LaTeX so any help is appreciated.
1 vote
2 answers
83 views

Trying to draw a quantum circuit, a basic one

In the beginning, it can start with 'n' input and the same number of output but could not make output lines. I am actually now quite sure about the details of these codes, that's why could not ...
1 vote
0 answers
23 views

Forest does not draw diagrams/lines [closed]

I have a problem with Forest in TexLive. I never experienced this problem in TexWorks which I am used to work with. As you can see in the picture, forest does not draw lines between nodes, so it does ...
  • 11
0 votes
0 answers
36 views

create a picture consisting of math and arrows, boxes - efficient ways

What are the ways to create such a picture? As you can see, it consists of math symbols, arrows, boxes, text. Is it more efficient to load the math symbols in a program like inkscape and do all the ...
  • 141
-1 votes
1 answer
49 views

Free shaping in tikz [closed]

I want to draw these two figure in tikz Is it possible to draw these free shapes in tikz including characters and the dots? My ultimate goal is to make a lot of them and bring one big image but if I ...
  • 115
7 votes
3 answers
112 views

Latex Triangle Angles

I've drawn a graph of a triangle, but I do not know how to draw the angles. This is my triangle graph <asy> size(10cm); pair A, B, C, D, F; A = (0, tan(3 * pi / 7)); B = (1, 0); C = (-1, 0); F = ...
user avatar
0 votes
0 answers
50 views

Diagram of particle collision in center of mass frame

I'm studying Feynman diagrams and I want to draw the particle interaction in the center of mass frame to visualize the kinematics of the situation. How can I draw this in a quick way? I'm thinking of ...

1
2 3 4 5
59