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
0 answers
21 views

Trouble generating large graph with auto-pst-pdf

I try to use latex packages auto-pst-pdf and psfrag to produce dot graphs that require latex labels. It works well with small examples (10 ~ 20 nodes). However, when the number of nodes gets larger (...
Hans's user avatar
  • 1
5 votes
2 answers
213 views

Quantikz not compatible with tikz-cd?

I want to draw quantum circuits and commutative diagrams, so I want to use the two packages quantikz and tikz-cd. But somehow quantikz overwrites tikz-cd. Take a look at this code: \documentclass[11pt,...
Blau's user avatar
  • 53
3 votes
2 answers
162 views

ER diagram with empty boxes as a worksheet

I am in the process of creating a worksheet for my students. It's about ER-diagrams. It's relatively easy with Word, but it doesn't look so nice ;) I already know how to create ER-diagrams. What I ...
wayne's user avatar
  • 685
-3 votes
0 answers
81 views

What software can I use to generate this kind of ilustrations [closed]

I am looking for a a easy to use not complex software of package to generate this sort of ilustrations
Maroon Racoon's user avatar
1 vote
0 answers
29 views

Connection starts from the bottom

I am using schemabloc package to draw some block diagram. Consider this minimal codes: \documentclass[margin=10pt]{standalone} \usepackage{schemabloc} \begin{document} \begin{tikzpicture} \...
Sukan's user avatar
  • 869
3 votes
1 answer
76 views

How to draw this sort of diagram: Line plot with vertical error indicator

I want to plot this diagram in LaTeX: I need ranges in x and y at the same time. I want to show Global Warming Impact (GWI) over Net Present Value (NPV) for different scenarios of both indicators. ...
Fantastic MsFox's user avatar
0 votes
0 answers
24 views

The method of drawing 3D shapes that stack each other allows the shapes to be rotated without overlapping lines [duplicate]

I'm trying to draw adjacent cubes like this: When I rotate the shape I just drew, it gets distorted due to the order of drawing the cubes. The lines of the later shapes overlap the earlier ones. Is ...
trong vox's user avatar
1 vote
0 answers
42 views

How to draw 3D blocks stacked to grow on each other without caring about the order of drawing those blocks on Tikz

I'm trying to draw adjacent cube shapes. If I don't specify coordinates in order, the lines of the subsequent shape will overlay the previous ones as shown below. How can I handle this issue without ...
trong vox's user avatar
-1 votes
1 answer
149 views

Draw several cars with TikZ and and special style arrows

Can you guide me to draw this figure? I have drawn several cars with this code: \documentclass[border=10pt]{standalone} \usepackage{tikz} \tikzset{ pics/my car/.style={ code={ ...
mzn's user avatar
  • 317
3 votes
2 answers
215 views

Conceptual diagram in LaTeX

How can I write the following conceptual diagram in LaTeX? I am not sure whether it is common to use TikZ for this purpose or if there are other methods available. In the box □, I want to write some ...
BrauerManinobstruction's user avatar
5 votes
3 answers
901 views

recreate a figure with TikZ from an entrance exam

Could anyone help me recreate this image on tikz? I don't really know where to start
Willian's user avatar
  • 59
-3 votes
1 answer
74 views

how to draw a figure eight curve using tikz? [closed]

Just as the title, how to draw a figure eight curve using tikz ? Or more general, how to use tikz to draw a parametric curve with the given parametrization ? I knew how to draw basic things by tikz ...
PermQi's user avatar
  • 187
-1 votes
0 answers
25 views

Subset as circles [duplicate]

is there any easy way to draw a subsets as circles, as in the picture below?
cqui's user avatar
  • 1
1 vote
1 answer
38 views

Doubt about \pgfplotsinvokeforeach

I was using tikz and I had a problem using \draw[] inside a \foreach loop, so I found \pgfplotsinvokeforeach and I have doubts about how it works. This is an example \documentclass{article} \...
Michael Rosales Vilca's user avatar
0 votes
1 answer
80 views

How to draw the following diagram with rectangles using tikz?

I want to use tikz to draw the following (using gray and black where specified): Note that $\chi-\delta/2$ and $\chi-\delta/4$ is centered with respect to the gray colored region (not the whole gray +...
anonymous 's user avatar
2 votes
3 answers
81 views

Thin diamond shape in tikzcd

I'm trying to make a diagram of diagrams, and so have ended up with something like this diamond shape \documentclass[a4paper,11pt]{book}% \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{cd} \...
George's user avatar
  • 215
1 vote
1 answer
49 views

How to create a comprehensive diagram of many inequalities on a number line?

I want to graph 8 inequalities and a number line, like I show below: Note that it's different from plotting the inequalities themself, like it would be plotting x<2 for a x-number line (that is, ...
anonymous 's user avatar
3 votes
1 answer
43 views

Making diagrams smaller in beamer

I want to shrink a diagram so that it fits on the page in a beamer document. Here is what I have \documentclass{beamer} \usepackage{amsfonts,amsmath,amscd,amssymb,amsthm} \usepackage{fullpage} \...
IanM's user avatar
  • 71
3 votes
2 answers
151 views

callouts direction

I m lost with the callouts and the pointers directions I have read documentation unfortunately it was hard to understand for me, \documentclass{standalone} \usepackage[table,xcdraw,dvipsnames,svgnames,...
BROK's user avatar
  • 109
0 votes
1 answer
51 views

3D box and shapes + Customized arrows

Looking for help to make a 2d shape to be kinda of a 3D shaped so here is my try : \documentclass{article} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{xcolor} \usepackage{tikz} \...
BROK's user avatar
  • 109
-1 votes
1 answer
46 views

Help with arrow diagram [closed]

Is there a way to draw the following diagram using only the default provided packages? I've tried replicating it using TikZ and the Automata library, but I had issues with placing the arrows like in ...
Nicolò Cantori's user avatar
0 votes
1 answer
64 views

How to create a Control Flow Diagram like this?

Hello everyone, I found this diagram on PezzeYoung's book. I don't understand how they create diagram like this using LateX. I searched online and tryed to use TikZ to create this think, but I didn't ...
Garnet14's user avatar
2 votes
1 answer
70 views

Render formula for plotting in LaTeX

I am constructing a thermodynamic diagram. The basic structure is a x axis with temperatures in Celsius, and an y axis with pressure in hPa in logarithmic scale. Then I need to add some lines giving ...
EmileC's user avatar
  • 43
2 votes
2 answers
98 views

controll over shapes and image + tikz add path image background

code used and efforts made are referred in here :link 1,link 2 I ended up updating this code but the facing errors \documentclass{article} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{...
BROK's user avatar
  • 109
0 votes
3 answers
38 views

Alining 'semi-triangular' commutative diagram

I'm trying to draw a commutative diagram of the this figure: But the best I can do is with the following code: \begin{tikzcd}[column sep=5em] & U \arrow[r, "i"] & V \arrow[r, &...
Max's user avatar
  • 3
0 votes
2 answers
55 views

over laying pictures and positioning

using this Link i modified i could have made this the output i had \documentclass{article} \usepackage{fourier} \usepackage[table,xcdraw,dvipsnames,svgnames,x11names]{xcolor} \usepackage{tikz} \...
BROK's user avatar
  • 109
0 votes
1 answer
75 views

modified planet outline and orbitals in smartdiagram [closed]

after reading the documentation of smart diagram I could have done a very simple approach but I need more customization over the orbitals and outline of the planets and satellites , thank you for your ...
BROK's user avatar
  • 109
0 votes
1 answer
45 views

More control over arrows and shadows

I'm trying to make something similar to this shown in the figure below but I'm stuck with the text over the arrows and I couldn't make those shadows and thank you so much ! \documentclass{book} \...
BROK's user avatar
  • 109
0 votes
1 answer
39 views

shifting bars and creating polygons inside another shape

i m trying to make this diagram and i have made this so far \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.symbols,positioning} \definecolor{myblue}{RGB}{150,150,150} \tikzset{ ...
BROK's user avatar
  • 109
0 votes
1 answer
47 views

how to put an image inside a flowchart or at a corner of a diagram

so i m willing to get something similar to this but somehow for my lack of expertise about latex so I have this code \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta,positioning} ...
BROK's user avatar
  • 109
0 votes
1 answer
52 views

help with diagram with custom shape

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{amsmath, amsfonts} \usetikzlibrary{arrows.meta} \tikzset{ customshape/.style={ fill=lightgray, draw=...
BROK's user avatar
  • 109
4 votes
2 answers
140 views

how to make this flowchart

so i came to this code right now i m still stuck with the text in between arrows and that dashed box with correct and wrong emoji so far I have this code : \documentclass{article} \usepackage{...
BROK's user avatar
  • 109
0 votes
1 answer
44 views

How to label vertices of a simplicial complex in LaTex?

I have the following code. My question is how one can label its vertices from 0 to 4? Thanks. \newcommand\size{1} \begin{tikzpicture} \draw[thick] (18:\size) \foreach \a in {90,162,234,306} { -- (...
Ayse Borat's user avatar
0 votes
2 answers
55 views

Bar chart with multicolored bars and labels

I would like to create a bar chart with a multicolored bar. The bar chart should show the length of each section. My problem is that in the first section the number always goes before the bar chart ...
Lucas's user avatar
  • 13
0 votes
2 answers
100 views

How to draw the shape shown in the below image?

\documentclass[12pt]{article} \usepackage{tikz} \usepackage{tikzpagenodes} \usetikzlibrary{arrows, shapes, positioning} \begin{document} \pagestyle{empty} \begin{tikzpicture}[remember picture, overlay]...
Vishakha's user avatar
  • 119
1 vote
2 answers
47 views

How to break line in a text node in a tikz forest diagram

I need to break line in a node text in a tikz forest diagram. I tried to add \ or \newline in the node text, but that did not work. Here is the sample code: \documentclass{article} \usepackage{tikz} \...
None's user avatar
  • 319
0 votes
1 answer
62 views

Replacing a square with a star in TikZ

In the code below I would like to replace the box by a star. How do I do this? \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{center} \begin{tikzpicture} ...
Zoltan Fleishman's user avatar
2 votes
2 answers
45 views

How to change base value on x-achsis in a Tornado plot?

I am trying to do a tornado plot where the base value on the x-axis is different from zero, in my case 5.43. \documentclass[margin=5pt]{standalone} \usepackage{tikz,pgfplots,pgfplotstable} \...
Fantastic MsFox's user avatar
0 votes
0 answers
55 views

Why picture appears above text even when I added it below the text [duplicate]

I wrote following code and I added picture below the text but it appeared above it. can anyone please suggest fixes, Thanks. \subsection{Bloch sphere} Bloch sphere is graphical representation of Qubit....
Shakeel Ur Rahman's user avatar
1 vote
1 answer
34 views

Select precisely the departure of a line between nodes

I want to chose the departure of my lines between my nodes in somewhere between these anchors, for example I want to choose a anchor between north east and east. How can I do that? \documentclass[...
avirsty's user avatar
  • 31
1 vote
3 answers
119 views

Is there a way to easily make a stick diagram like this in Latex?

I am trying to create a diagram in Latex, but it is too complicated for my Tikz experience level. Is there a way to recreate this diagram easily? Or any tips on what I should do? Thank you for any ...
Jack Keefer's user avatar
3 votes
1 answer
529 views

How to draw this diagram (function as a machine) using Tikz?

I want to reproduce the diagram below but I couldn't find the "code" for that given shape. The sample diagrams that I've looked at just shows a closed rectangle with the arrows pointing to ...
Janet's user avatar
  • 43
4 votes
2 answers
346 views

How to Create an Interactive Diagram with TikZ

I'm trying to create an interactive diagram, much like the one used in the EPUBs sold by Go Books: What I mean by "interactive" is that the user controls when things are triggered. For ...
psygo's user avatar
  • 438
-2 votes
1 answer
66 views

How to type in such a diagram that is shown in the picture of an isotherm? [closed]

How can I recreate such a diagram? with the line segments and not necessarily with the points (V_2, P_5, T_5), ..., etc.
Abdulrahman's user avatar
-2 votes
1 answer
52 views

How to draw the depicted contour in tikz? [closed]

How may I draw the following image as a tikzpicture?
Robin's user avatar
  • 179
-3 votes
1 answer
61 views

How can I plot this on latex? [closed]

Hi all, I have been trying to draw this 3D scheme of a river with trapezoidal shape with its floodplains, could you please give me some gidence on how to plot this in overleaf? Thanks
Osvaldo Barresi's user avatar
4 votes
3 answers
387 views

Draw curved arrow from one edge to another (tikz picture)

I am working on the following tex code: \begin{tikzpicture}[x=7mm] \draw[->] (0,0) -- (11,0); \foreach \x in {0,...,10} { \draw[shift={(\x,0)}] (0pt,3pt) -- (0pt,-3pt) node[below,font=\...
José Victor Gomes's user avatar
8 votes
1 answer
262 views

Draw a shape "inside" another one

I'd like to draw a shape (with right only angles) inside another (with only right angles). The edges should be as close as possible without overlapping. I can do something by hand, as follows: \...
Clément's user avatar
  • 5,601
0 votes
0 answers
58 views

Problems with rendering images in asymptote

I would like to construct images from the asymptote package, but when I entered asy File-1.asy It gave me this pic.addBox(position,position,min(f),max(f)); How do I solve the problem? My asy version ...
xxxx036's user avatar
  • 139
1 vote
1 answer
63 views

Create an Asymptotes Summary Diagram for a Function

I would like the figure to resemble the following: However, the figure I produced does not match this description here is my attempts \documentclass[]{article} \usepackage[left=.5cm,right=.5cm,top=...
Educ's user avatar
  • 4,372

1
2 3 4 5
63