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.

4 votes
1 answer
77 views

tikz / tikzlibrary{calc,intersections}: draw a tangent line that intersects secant at right angle

I need to draw a tangent line that intersects a secant line at a right angle outside the circle. The MWE below correctly renders a circle and a secant line, and labels the intersection points. However,...
Oregon Math Tutor's user avatar
2 votes
1 answer
57 views

pgfplots generating images in RGB no matter what you define

I have a pgfplot, that seems to obey all requirements to produce and image using the Gray colorspace only, following what the manual says as well as the answer to this question here: \documentclass{...
Knudsen's user avatar
  • 1,358
2 votes
1 answer
84 views

Tikz edges are not drawn correctly between dynamically generated nodes

The following code generates nodes and edges dynamically. However, the edges are drawn strangely so that they connect to the right side of each node circle. What is wrong, and how can I fix this? If I ...
kaba's user avatar
  • 653
-2 votes
1 answer
87 views

draw symmetrical peaks [closed]

To enhance a lesson, I would like to be able to reproduce this type of diagram and more particularly the double peak (which I can simplify by taking the same height) but I don't see what is the best ...
Nicolas's user avatar
  • 2,907
2 votes
1 answer
65 views

Plotting label outside of axis bounds causes incorrect drawing

In the following code, which greatly simplifies an issue I'm seeing in more elaborate code, I'm attempting to draw a cropped blue-filled rectangle, and then over that plot, draw a black rectangle over ...
crayman9's user avatar
  • 315
1 vote
1 answer
36 views

Why is xscale ignored when in \draw with pre-assigned coordinate?

It seemed maybe duplicated but I didn't sreach it. I found that xscale doesn't work with node's anchor but coordinate work as my expected? Here below is my code: \documentclass[tikz,border=3pt]{...
Explorer's user avatar
  • 3,086
3 votes
3 answers
216 views

How to draw a square with labeled vertices?

Here is my thinking: \documentclass[12pt]{article} \usepackage{tikz} \begin{document} \usetikzlibrary{calc} \[\begin{tikzpicture} \coordinate (00) at (0,0); \coordinate (10) at (2,0); ...
Intuition's user avatar
  • 155
2 votes
1 answer
70 views

Distortion between `axis` environment and `tikzpicture`'s coordinate system?

I learnt from this link that the axis and tikzpicture coordinate system is independent. Consider the following example: \documentclass[tikz,border=5pt]{standalone} \usepackage{ctex} \usepackage{...
Explorer's user avatar
  • 3,086
3 votes
2 answers
258 views

Mimicking Mollenhauer's document style with packages recorder-fingering, musixtex and tikz [closed]

I would like to mimic following Mollenhauer's document style : using packages recorder-fingering, musixtex and tikz. I came from Chart for Recorder fingering notation in Musixtex with Tikz and Beamer ...
Olórin's user avatar
  • 417
1 vote
1 answer
49 views

Problem with \tkzClipSector and bounding box in tkz-euclide

Here's a problem I can't solve. As you can see in the figure below, the clip is bounded by the sector, but the bounding box is modified. I can get around this problem easily, but I'd like to find out ...
Alain Matthes's user avatar
3 votes
1 answer
93 views

The dashed pattern's joined at closed boundary of node?

I have the following MWE: \documentclass[tikz,border=.5cm]{standalone} \begin{document} \begin{tikzpicture} \node[ circle, draw=blue,thick, densely dashed, fill=yellow, inner sep=...
Explorer's user avatar
  • 3,086
2 votes
1 answer
57 views

How to plot labels from a CSV file?

I am able to plot points from a CSV file in a tikz axis plot using the attached code. Rather than this, I would like to plot text strings (from the column "County") centered at the ...
crayman9's user avatar
  • 315
4 votes
2 answers
102 views

pgf Error: No shape named `spiralpath' is known

I cannot manage to finish this document: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usepackage{tikz} \usetikzlibrary{calc,intersections,through,backgrounds,arrows.meta} % ...
Myo Nyunt's user avatar
  • 141
4 votes
2 answers
166 views

How to split arrows and draw arrowed triangles in TikZ?

I'm trying to replicate the following figure in TikZ: And I have the following code so far: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning} \...
pixel's user avatar
  • 1,482
4 votes
3 answers
207 views

Removing color from overlapping region of intersection of three sets in a Venn diagram

I have the following diagram from which I want to remove the colored grey region that comes in all the three sets. I am attaching minimal code example and also a screenshot below. Note that I want to ...
Jason's user avatar
  • 221

15 30 50 per page
1
2 3 4 5
2427