Questions tagged [tikz-pgf]
TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.
35,596
questions
5
votes
1
answer
47
views
Legend marker wont change, persists to a black dot
I am trying to change the legend marker to a black dashed line to match that of my linear regression but it persists as a black dot. I dont understand why this is occuring when I have defined the ...
1
vote
0
answers
20
views
Difficulty changing legend marker and resizing in pgfplots
The legend which I have the linear regression equation and R^2 value beside it runs over one of my data points, I want to resize the text that way no point is blocked. I also am trying to change the ...
0
votes
2
answers
36
views
How to reposition X-label title
I am new to making LaTex and pgfplots, I am in the process of making a temperature scatter graph however I am encountering some problems I will outline in multiple posts otherwise the message will be ...
4
votes
1
answer
49
views
tikzpicture exceeds table cells with multirow
I'm using multirow together with tikz pictures and the result is suprising (at least to me). I reduced the code to:
\documentclass{article}
\usepackage{tikz}
\usepackage{multirow}
\begin{document}
...
3
votes
1
answer
123
views
Any possibility to draw precisely for below Geometry image?
I have below geometry would like to draw by using tkz-euclide. Here is the description:
Let points A,B,C are the points on the sides of triangle (A1 B1 C1), and ⦟A=⦟A1, ⦟B=⦟B1, ⦟C=⦟C1
How to draw very ...
4
votes
1
answer
42
views
How to Add a Legend to a Forest Taxonomy Diagram in LaTeX?
I have a LaTeX code that generates a taxonomy diagram using the forest package. I'm trying to add a legend to this diagram, explaining the meaning of the various colors, dashed lines, and node types. ...
0
votes
1
answer
108
views
How can I do these graphics in tikz?
This is how I did the little retangle.
Is there any simpler package that I could use to do these graphics?
\documentclass{article}
\usetikzlibrary{angles, arrows.meta, calc, quotes}
\usetikzlibrary{...
3
votes
1
answer
39
views
Rotating triangle
\documentclass{article}
\usepackage[usenames,dvipsnames,pdftex]{xcolor}
\usepackage{tikz}
\usepackage{ifthen}
\newcounter{density}
\setcounter{density}{20}
\newcommand{\trianglee}[2]{
\begin{...
2
votes
1
answer
73
views
Rotate coordinaten system with PGFPlots
I want to rotate a coordinate system with pgf-plots using rotate around={angle:point}. I would expect to use (0,0) but using trial and error I found rotate around={30:(170,-220)}. Can somebody explain ...
1
vote
1
answer
18
views
Problem with texlive-2024.20241102 with TikZ markers set inside a Minted environment
Recently (last Tuesday, I think) I updated my TexLive distribution to 2024.20241102 with Minted 3.x, since then I noticed that the way I managed to set Tikz markers inside a Minted environment to ...
6
votes
3
answers
217
views
Mathematical operations inside \foreach list
As far as I know, the following example is incorrect because I can't subtract inside the \foreach list.
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{...
1
vote
1
answer
48
views
Conflict between scope shift en node positioning
I am faced with an issue, ChatGPT and I can't seem to solve so here I am.
\documentclass[border=2pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz,pgfplots}
\usetikzlibrary{calc,...
1
vote
1
answer
56
views
How to automatically label through the dodecagon with TikZ elegantly?
My Final Propose is to draw a picture as below. I tried with the wheels created by Qrrbrbirlbel:
With miminum size and the outer sep option, something went wrong with the float calculation causing ...
0
votes
0
answers
44
views
How to insert category?
How to insert A, B, C in the tree diagram below?
3
votes
1
answer
159
views
Using parentheses inside a foreach loop, with parse=true
I am trying to perform some calculations in a foreach loop in tikz, using parentheses.
The expected output is a bunch of vertical lines.
The solution here does not work in this case: https://tex....