All Questions
344
questions
0
votes
0
answers
11
views
Labeling a bar chart in Latex
I have the following bar Chart in Latex:
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
ybar,
symbolic x coords={CRITICAL, HIGH, MEDIUM, LOW},
...
1
vote
1
answer
29
views
Latex Flowchart with Multiple Splits
I try to make this flowchart in Latex but do not know how to make the boxes that go down to the left. Please help as I provide code below as far as I could get to.
\documentclass{article}
\...
2
votes
1
answer
35
views
TikZ picture pie chart - Exclude labels for categories with 0
I need to display a pie chart with 5 categories but where some have a result of 0. But there is this annoying "0" showing up on the pie chart. How can I get rid of it? I suspect it's the 0 ...
2
votes
0
answers
80
views
Rotate latex tikz figure
I would like to rotate the following latex figure to have the violin vertical (https://tex.stackexchange.com/questions/662974/how-can-i-make-a-violin-plot-in-pgfplots):
\begin{filecontents*}{data1.dat}...
1
vote
1
answer
100
views
pgf import in LaTeX not working due to matplotlib axes font
I was plotting as usual and then after saving one of my plots as a pgf and then compiling LaTeX it didn't work anymore. As far as I'm aware of, I didn't change anything it just so happen to stop ...
0
votes
0
answers
45
views
How can I specify an arrow from a distant bond to another bond in Chemfig?
I have an issue regarding regarding using Chemfig to display an electron movement arrow from a distant bond to another. I have tried every possible arrangement of arguments but not found a solution. I ...
1
vote
0
answers
100
views
Stacked ybar plot in tikz but with log scale on the y axis
I am trying to make a stacked ybar plot using tikz. While I am able to do that, it results in a very uninformative plot (can't post images because I don't have enough reputation)
Inital plot
The MWE ...
-1
votes
1
answer
64
views
How to wrap a tikzpicture?
\begin{wrapfigure}{r}{0.5\textwidth}
\begin{tikzpicture} [scale=1,>=stealth]
\coordinate (O) at (-0.3, -0.2);
\coordinate (Y) at (-0.2, 4);
...
1
vote
1
answer
695
views
How to get the defined coordinates of nodes?
In the following example I would expect the vertical lines of the rectangles to be aligned, but for some reason they are not. I assume this is because not the actual coordinates of the nodes are used, ...
1
vote
1
answer
291
views
How do I align nodes of different heights to the bottom?
The following code
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart,chains}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[stack/.style={rectangle ...
1
vote
2
answers
281
views
How I can produce a png from a tizk tex file (with class standalone)?
I have the following LaTex file:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[fill=yellow]{Hello World!};
\end{tikzpicture}
\end{document}
and I would like to get a ...
2
votes
1
answer
1k
views
Caption inside a Tikz picture is not working anymore
In the past, when I added an external image inside a Tikz picture using includegraphics, I could add a caption to this image by using the captionof command from the caption package. However, after ...
-1
votes
1
answer
280
views
tikz: printing fixed format number on axis
I would like to print fixed format number on the axis. However, tikz always prints the decimal (.10^⁻2) on top (see below picture), even if I set
\pgfkeys{/pgf/number format/.cd,fixed,precision=2}
...
2
votes
0
answers
73
views
Spacefilling Turtle Curve with Tikz
I'm trying to draw some space-filling curves with tikz and the Lindenmayer system.
My goal was this curve:
So I tried it out:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary[...
1
vote
0
answers
981
views
User-made pattern in tikz: the lines are dashed by default
I want to fill an area of a figure with lines in tikz while specifying the angle. I used the method presented by the Pattern library https://tikz.dev/library-patterns but the user-specified pattern ...