Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
20 views

How to place the text at the upper-left corner of the rectangle

How can I place the text Register at the upper-left corner of the rectangle? I used \pgfpoint{15pt}{-5pt} to demonstrate the desired visual effect. But I want to calculate the width, height, and depth ...
KaiserKatze's user avatar
0 votes
0 answers
31 views

Why can't I use \pic[draw] in one figure, while I have used it before? [closed]

I'm working on making some figures and in one of them I drew a double-ended arrow to denote an angle. But when I try it in another figure, it doesn't work. Code 1: \documentclass{article} \usepackage{...
Benzv2001's user avatar
2 votes
1 answer
49 views

! Package pgf Error: No shape named `current page text area' is known

I've just updated to TL 2024 on Linux manjaro. When compiling an existing document without making any changes, it was failing. After much debugging, I found it is in tikz code I had. Here is MWE \...
Nasser's user avatar
  • 20.4k
0 votes
0 answers
33 views

Setting drawing parameters through tikzset

\makeatletter\newcommand{\drawOctPuz}[3][,]{%{3}{7,8,0,-1,4,5,6,-1,1,2,3,-1} \def\nRow{#2}\def\zero{0}\def\negOne{-1}\def\scl{.5} \draw[step=\scl*1cm,very thin] (0,0) grid (\scl*\nRow,\scl*\nRow); ...
user209882's user avatar
1 vote
1 answer
27 views

RGB values for pgfplot matrixplot

I want to build a matrix plot. But instead of having the values for the entries in the matrix I already have the rgb values for each cell. Here is the code that I have. So far it uses only the r (red) ...
Franz's user avatar
  • 317
2 votes
2 answers
70 views

Draw diagrams by changing a parameter

I created a diagram whose code I give below. I would like to be able to accumulate diagrams on the same graph with a parameter that changes: in my wish, it is to modify the concentration (currently, ...
Nicolas's user avatar
  • 1,317
0 votes
0 answers
48 views

Any suggestions on how to replicate this chart using TikZ?

I'm trying to replicate the following diagram using TikZ. However, I don't know how to replicate these curves. I've tried using Inkscape (to make a vector file) but the results look rubbish. The ...
ncant's user avatar
  • 69
1 vote
1 answer
64 views

Animation of a folding table

I need to design a table that will fold. Here is the code that I managed to get, but it's still not what I need. The picture shows a sample of what I want to get. Ideally, a list of variables should ...
Антон's user avatar
0 votes
1 answer
27 views

TikZ plot of square root (for example) shows breaks [duplicate]

I'm presenting some basic functions to my students, one of them being square root. When using TikZ to represent it, I always see an annoying "break" between 0 and 1, on what should be a very ...
Gauffke's user avatar
  • 91
3 votes
3 answers
249 views

Chemistry figure with TikZ

I'm trying to replicate the following figure: . I did (in a crude way) succeed to make the boxes, but I don't know how to make the large brackets and the various text in it. This is what I have now: \...
ncant's user avatar
  • 69
0 votes
1 answer
38 views

Adding labels about boxed nodes in tikz pictures

I need something roughly along the following figure: I managed to this in tikz: \documentclass[border=0.2cm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \tikzset{ %Define standard ...
Stefan Müller's user avatar
0 votes
0 answers
22 views

Using macro \pgfgetlastxy{\XCoord}{\YCoord} to get x and y component for axis cs

In my MNWE see below, I can't imagine what I am doing wrong. Also see the attached picture. I try to extract coordinate with slightly modified macro given in the answer for tex.stackexchange.com/...
JardaFait's user avatar
  • 4,006
0 votes
0 answers
13 views

tikz-uml on overleaf `tikz-uml.sty' not found [duplicate]

I use overleaf but I cannot compile this code which does not contain any errors. The error that overleaf gives me is : LaTeX Error: File `tikz-uml.sty' not found. \documentclass[12pt,article]{memoir} \...
matheux's user avatar
  • 99
0 votes
0 answers
10 views

Package pgfplots Warning: Axis range for axis y is approximately empty

I'm trying to plot these following data: 0.000000000000E+0 1.973601225684E+0 1.000000000000E+0 1.973601176100E+0 2.000000000000E+0 1.973601185980E+0 3.000000000000E+0 1.973601205420E+0 4.000000000000E+...
Matthieu Thomas's user avatar
4 votes
1 answer
249 views

Create DevOps cycle in TikZ

My goal is to create a DevOps cycle in Tikz with the established infinity layout, like this one or the one on this page. I started by using the wheelchart package, but I can't get the formular for ...
John's user avatar
  • 97

15 30 50 per page
1
2 3 4 5
2345