Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

TeX capacity exceeded with xsim and tikz

I am working on this document for a remote assistance session, but I cannot identify what is triggering the error. Commenting out two of the three exercises allows the compilation to work fine, but ...
Aradnix's user avatar
  • 3,847
2 votes
2 answers
67 views

Dashed boxes with fractions [duplicate]

I want to use a dashed box, instead of a regular one in the following example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{mathtools,amssymb} \begin{document} Applying the Euler's ...
Danya Zh's user avatar
2 votes
1 answer
61 views

TQFT cobordism tags and rotation

I'm currently doing my thesis in TQFT's (Topological Quantum Field Theory) and I need to learn how to use tikz tqft library. Now, I started with something "easy", i.e., a cylinder. Here's my ...
5 votes
0 answers
57 views

PGFPlots Line Patch Plot with Decoration

Using tikz and PGFPlots, I am creating a patch plot from data table with the line patch type. I would like to decorate the end of each line with an arrow. What is the best way to do this? Below is a ...
trumpeter201's user avatar
2 votes
1 answer
54 views

tikz: How to define a custom 'on layer' layer key for both scope and picture?

For the following, I need to use the newly defined key on layer to be applied to both scope and picute. However, the way it is defined seems not to make the scope environment apply the other passed ...
Diaa's user avatar
  • 10k
3 votes
2 answers
128 views

Fill the intersection of a decoration with a rectangle

The objective is to print two parallel footprints and fill the intersection of one with a rectangle in gray Here is how I try to do it: \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{...
Sven's user avatar
  • 109
2 votes
0 answers
36 views

Is it possile to make smaller half lefts in Feynman-Tikz?

I'm attempting to recreate the below diagrams using the feynman-tikz package. I've attempted the below code, \begin{subfigure}{0.4\textwidth} \centering \feynmandiagram[...
DominikSz's user avatar
3 votes
1 answer
71 views

tikz-3dplot: Changing the default length unit from pt to cm

For the following, is it possible to change the default length unit to be cm so that the red and blue texts overlay each other? \documentclass[border=5pt]{standalone} \usepackage{tikz} \usepackage{...
Diaa's user avatar
  • 10k
2 votes
1 answer
210 views

How to draw an arrow?

How can I draw the following arrow? Here is the code for the boxes: \begin{tikzpicture} \def\w{2cm} \node[draw, rectangle, minimum width=\w, minimum height=1cm, anchor=west] (R1) at (0,0) {A};...
Marcus's user avatar
  • 145
2 votes
1 answer
84 views

Tikz: How to define a custom style key and apply it to a pic?

I would like to know how to properly define a custom style key topstyle inside the family my cylinder parameters and apply it to any pic instance. The following produces the error Package xcolor ...
Diaa's user avatar
  • 10k
0 votes
0 answers
59 views

Backward bifurcation diagram on latex [closed]

Please assist drawing bifurcation diagram I have attached a photo on how is suppose to look like. some additions \documentclass[12pt]{article} \usepackage{amsmath, amssymb} \begin{document} \begin{...
Shadreck Hero Ngomane's user avatar
6 votes
5 answers
359 views

TikZ-calc: put vector-length at a coordinate

I would like to have the red arrow from A, instead of from P. But the syntax %% Does not work %%%%%%%%%%%%%%%%%%%%%% \draw[blue, ->] (A) -- ($(P)!\PA*1cm!(A)$) coordinate(Bs); %%%%%%%%%%%%%%%%%%%%...
cis's user avatar
  • 10.9k
13 votes
2 answers
200 views

Help with drawing stress tensor in cylindrical coordinates in tikz

I want to draw stress tensors in cylindrical coordinates like in the figure below. I have been able to draw stress components on the surfaces normal to the $z$ and $r$ directions, but I have not found ...
noir's user avatar
  • 807
9 votes
2 answers
282 views

TikZ ellipse with arrows

What is the simplest solution to draw an ellipse with dashes, only each dash has an arrowhead (either clockwise or anticlockwise)? I struggled to create this solution with anti-clockwise arrows. I had ...
Aendie's user avatar
  • 365
2 votes
2 answers
73 views

Loop over pgfplotstable rows and axis, or any other method

I would like to create a graphic that does what this file is doing,but without going through each individual line \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{...
username's user avatar
  • 143

15 30 50 per page
1
2 3 4 5
2440