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.

learn more… | top users | synonyms (3)

2
votes
1answer
37 views

Customise Space between Nodes in Tree (using Forest)

I have the following tree, and I would like the central and the right branches to have a wider separation between them, to avoid confusion. I have been trying some things because I thought it would ...
2
votes
1answer
118 views

How to create Surface finish texture symbols with TikZ?

Relate to How to create geometry tolerance symbols with TikZ? I want flexibility, adaptive control by parameter, thanks for your answer. 20160627 update start: For example \RF{a=Rz1.6,b=xx,c=xx,d=...
6
votes
1answer
50 views

rotating custom shapes in Tikz

I'm trying to build upon the rectangle node shape but what I came up with doesn't rotate nicely (the hashed pattern, the second rectangle). As you can see, I've tried adding as many transform shape ...
2
votes
0answers
26 views

TikzEdt checking for new version gives “server not found”

Since some weeks ago when I run "Check for updates..." in TikzEdt (version 0.2.3.0 with Windows 10) I get the error: Checking for new version failed: Errore del server remoto: (404) Non trovato. ...
2
votes
1answer
54 views

3D pgf/tikz; first time making a 3D graph

This will be my first 3D graph on LaTeX, and I need help figuring out how to generate the graph of f(x,y)=xye^{x+2y-9x^2-9y^2}. Thank you for your help.
2
votes
0answers
15 views

Filling bar chart with patterns for black and white printing [duplicate]

I am trying to plot a bar chart like below: \documentclass{standalone} \usepackage{graphicx} \usepackage{tikz} \usepackage{pgfplots} %\usepackage{subcaption} \definecolor{blues1}{RGB}{198, 219, 239} ...
2
votes
0answers
14 views

TikZ: Problem with relative node positions for “big” nodes [duplicate]

I want to place two nodes besides each other, using TikZs right of= placement. But if the first node is two broad, like in the minimum example below, this does not work right. How can I make TikZ ...
4
votes
1answer
48 views

arrow tip when using “.. controls ..” in tikz

When I draw a commutative diagram with tikz, I normally use the syntax \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \node (a) at (0,0) {$A$}; \node (...
2
votes
0answers
51 views

Using equation/function in 3D TikZ

I have a subset in 3D, than has the restrictions: 1<=x<=2, 1<=y<=2, 1<=z, 2x+2y-z<=5. So far I have just plotted the point, where I restrict x and y. How do i plot the last ...
2
votes
2answers
34 views

Multiple object instances represented by two slightly shifted rectangles

In a software diagram, I'd like to be able to represent multiple instances of an object by two rectangles with one of them slightly shifted. I recently learned about the pic style so I'm using it with ...
3
votes
1answer
34 views

How to define a moving line?

In the following code, I draw two parallel lines. I am looking forward to know how to define a moving line which from the blue line to the red line which will result in a animation. The code is as ...
1
vote
1answer
59 views

How to get random-steps decorated tables?

I use tikz's decoration={random steps} a lot in a document for boxes and separator lines. In the same document I have tables set as tabularx, but the cell backgrounds / lines in those tables are ...
2
votes
0answers
78 views
+50

Pgfplots and large exponents in expression and domain

After I discovered the fpu library for increased precision, I tried to make a plot involving large exponents. I choosed as an example a plot of the gravitational force of the moon on a test mass in SI-...
3
votes
1answer
42 views

Plotting figure side by side and numbering them using subfigure

I am trying to plot two figure side by side using subfigure. However, the figures are coming one below another instead of side by side and also the caption is printed twice for each o the figure! I ...
0
votes
1answer
27 views

Pgfplots domain [duplicate]

I have three columns of data and one which stops at a moment, but the other continues. But LaTeX creates the values as a constant, and I don't want them to appear, how to do? \begin{figure}[h!] ...
2
votes
0answers
68 views

Typesetting category of elements diagrams

This nlab page features the two diagrams below which I would like to typeset myself, except I only know xypic which cannot really produce them. I would like to typeset the following: What is a ...
1
vote
0answers
51 views

Can't select text in PDF created using Asymptote [duplicate]

I am making 3D diagrams using Asymptote, export them as PDF and then use them in LaTeX documents. I cannot select the text/labels inserted in the pictures/diagram in the final PDF of the LaTeX ...
1
vote
1answer
37 views

Help with Arrow Thickness

I need help with making the arrows thicker for the following: \documentclass[landscape, 12pt]{report} \usepackage{hyperref} \usepackage{tikz} \newcommand{\myarrow}{\raisebox{11ex}{\tikz \draw[->] ...
1
vote
1answer
61 views

Using \pause and multiple tikzpictures in one slide

I have two tickpicture blocks. What I need, is to use \pause (or overlay) another plots on top of each one: \begin{tikzpicture} \draw (0, 0) node[inner sep=0] {\includegraphics[width=1\...
3
votes
3answers
86 views

How to color tick label background when curve overlaps it

I have lots of pgfplots in my document with curves that pass vertically through points where I want an x tick label. This makes those labels hard to read. I do want those labels to still be there. I ...
4
votes
3answers
208 views

Typeset simplified ROM circuit diagram using Tikz

I'm trying to typeset the following image using Tikz: I have tried many options, but there doesn't seem to be any good solution doing this an efficient way. My code I used at last: \begin{...
2
votes
0answers
30 views

Tikz plot of a (log-) normal quantile function and inverse error function

I want to plot the lognormal and normal quantile functions in tikz. To fix notation, let's refer to https://en.wikipedia.org/wiki/Normal_distribution, which gives the quantile of the normal ...
3
votes
1answer
57 views

TikZ: Change position of arrowhead along line?

I have a TikZ plotmark and an arrow leading to it: \documentclass{article} \usepackage{tikz} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture} \node at (4,0) {\pgfuseplotmark{*}}; ...
2
votes
1answer
96 views

How can I draw the Minkowski sum of two sets? [duplicate]

I would like to represent the ɛ-neighborhood of a convex polygon, which is the Minkowski sum of the polygon and a disk of radius ɛ. The polygon is given by its vertices, from which of course I could ...
4
votes
1answer
28 views

Link Arrows in pgfgantt for Long Periods of Time

I am making a Gantt chart with pgfgantt. The arrowheads for dependencies between the bars do not show properly (e.g. pointing to left rather than right, for an input to another bar). My time-frame is ...
2
votes
0answers
36 views

How can I rotate this ellipse on xy plane?

I want to enclose the red circles into an ellipse, but this ellipse should rotate, but the rotation is wrong. \documentclass[border=1cm]{standalone} \usepackage[x11names,dvipsnames]{xcolor} \...
2
votes
1answer
21 views

'Undefined control sequence' with \addplot

When trying to insert a TikZ figure, using \addplot, I've got an 'undefined control sequence'. My code is: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} ...
1
vote
2answers
31 views

Background image moves to the right with the addition of text

I'm building a title page for a custom report .sty file. A MWE follows: \documentclass{report} \usepackage{lipsum} \usepackage{geometry} \usepackage{mwe} \usepackage{tikz} \usepackage{pgf} \...
3
votes
1answer
35 views

Aligning tikzpicture to Center of Box?

I need to align the arrows in the following LaTeX so that they are moved up to the midpoint of the boxes. Meaning halfway up the box instead of aligned at the bottom like they are now. Here is my ...
3
votes
2answers
72 views

Drawing arrows using tikz

I am trying to make a flow chart using tikz package. My code is: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,calc,positioning,shapes.geometric} \tikzstyle{intt}=[draw,text ...
1
vote
2answers
56 views

Generate a square color matrix in Latex with TikZ

How can we generate this type of image using tikz package? Thank you all
3
votes
2answers
53 views

How to define a point for connecting nodes from two different tikz pictures?

I need to define a point on this page and connect several nodes from these two different tickzpicture figures. \documentclass{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, ...
4
votes
2answers
133 views

Decoration of (relative) segments of Bézier curves

I would like to modify a bezier curve in tikz, e.g. \draw (0,0) .. controls +(87:2.3) and +(50:-0.7) .. (1,1); in such a way, that a part in the middle is draw with dots (instead of a full solid ...
6
votes
2answers
104 views

Adding shadow to font in beamer title

I'm trying to port a Powerpoint template to beamer, and I'm trying to replicate this font style: I am using this font in two places: Title page. This text is a paragraph (3 lines) inside a ...
2
votes
1answer
46 views

understanding how to have one legend for a group plot

I know this question has been asked in various forms before, but I just do not understand the syntax of one of the solutions that I would like to use. I have checked the documentation of Tikz and pfg ...
2
votes
3answers
154 views

Drawing a figure with edges

I am trying to draw a picture that would look complexity-wise like this But instead of making it rectangular-looking, I need to make it triangular-looking that would look something like this (but ...
1
vote
0answers
26 views

tikz externalize doesn't work, missing trailer directory and xref table

I am writing a document which has several large TikZ figures that it needs to compile with it. To speed up the compiling process I am interested in externalizing TikZ. So in my preamble I have \...
5
votes
1answer
32 views

Find coordinate of the shortened (elongated) line end

I draw elongated line \draw[shorten >=-2] (0,1) -- (3,5); and I need coordinate of the line end. If I write \draw[shorten >=-2] (0,1) -- (3,5) coordinate (a); I simply get (a) = (3,5) ...
1
vote
3answers
117 views

Connecting 3 nodes on forme triangle with TiKz?

It is possible to draw this triangle with TiKz?
1
vote
1answer
51 views

I do not know the key '/tikz/start'

I am receiving an error message: Package pgfkeys Error: I do not know the key '/tikz/start' and I am going to ignore it. Perhaps you misspelled it. }when I would like to draw a simplex-type graph. I ...
5
votes
1answer
80 views

Rotation animation of TikZ Picture

I made a simple TikZ picture like this: and I would make an animation that rotates the whole image about its z_world axis. I made this attempt: \documentclass[10pt]{article} \usepackage[italian]{...
4
votes
1answer
45 views

How can I get an appropriate height for text/math nodes in tikz?

I have the following block diagram of a Kalman filter: I think the space between the upper border of the boxes and the first line of math is too much. How can I reduce that to make it look nicer? ...
10
votes
0answers
81 views

Is there a general rule when to write pgfplots keywords together?

When using tikz especially pgfplots I find it often difficult to remember if a keyword is written together or separaded. Examples for keywords written together are: xticklabels enlargelimits ...
10
votes
1answer
196 views

Using tikzlibrary calligraphy for braces with a minipage

I wanted to put a brace from the excellent TikZ library calligraphy on one side of a minipage. I can't get it to work: \documentclass{article} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{...
2
votes
2answers
64 views

Tikz package - How to write a text over a segment determined by the two points?

I want to draw a line composed from 6 points: A,B,C,D,E,F. I know how to create this points in tikz package but I don't know how to write a text over the segment determined by the points A and B, and ...
5
votes
1answer
73 views

TikZ library 'calligraphy' and 'paths.ortho' doesn't work together

From question and answer in Using color with braces employing the TikZ calligraphy library I learned about library calligraphy. From test about it use I observe two things: the library 'calligraphy' ...
-2
votes
2answers
265 views

swirling hexagon [closed]

Can someone show me how to use tikz to produce a "swirling hexagon" using grey-scale to differentiate triangles at distinct arms of the spiral pattern? A figure for this pattern can be found googling "...
1
vote
2answers
75 views

Image with tikz

This is the image I would like to obtain And this is my suggestion so far \documentclass[a4paper ,11pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[y={(1cm,-0.5cm)}, x={(-1cm,...
2
votes
1answer
39 views

bar chart with pgfplots

I am trying to create a bar chart with pgfplots. My code is similar to example : \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{figure}[h!] \begin{tikzpicture} \...
0
votes
0answers
28 views

ScholarOne won't recognise tikz graphics. Help?

I'm trying to submit a manuscript to a journal which uses ScholarOne Manuscripts. As part of this you can upload a .tex file and the system 'detects' the supplementary files needed and then compiles ...