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)

5
votes
1answer
104 views

LaTeX - Colouring the RandomWalk?

Hi I am using the randomwalk package in LaTeX alongside tikz in order to create a random design of lines. Is there a way I can manipulate other aspects of the lines drawn such as the colour or the ...
2
votes
1answer
63 views

Drawing nodes by polar coordinates with translation

I have plotted 12 nodes in a circle with radius 2 and center (0,0) (I suppose). Now I want to plot it once more in the same figure but with centre (2,0), how could this be achieved? Many thanks for ...
1
vote
1answer
41 views

tikzpicture: minor ticks are not displayed in the case of small data

The code below is as expected, including the minor ticks. \begin{tikzpicture} \begin{semilogyaxis} \addplot[color=blue, mark=o] coordinates { (0.0, 1) (1.0, 0.5) (3,1e-6) ...
0
votes
1answer
92 views

Drawing node arrows

I'm not sure how the node function works for use in trees such as the one drawn by Gonzalo Medina in this post: Trees and arrows I'd like to be able to create arrows going from different nodes to ...
1
vote
0answers
56 views

Smooth joining between shaded rectangles (TikZ)

I am assembling several rectangles to make a special shading. Here is my code : \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{fadings} \begin{document} \begin{tikzpicture} ...
1
vote
0answers
78 views

tikzpicture polar plot with negative function values

how to make similar polar plot to Creating a Polar Grid with Tikz -just using tikzp. (no pgfplots, pstricks etc)- with negative axis value, there all example just start with axis 0. So basically I ...
0
votes
0answers
39 views

Error when parsing tikzpicture with a Greek letter in math mode

After trying to reparse a LaTeX document with another parser on another OS : \documentclass[ a4paper, 11pt, BCOR=12mm, DIV=18, abstract=on, ...
2
votes
2answers
88 views

colour coding of 2-d-data

Imagine the following requirement: There is a rectangular matrix of variable size with integer elements. These data are located in an ascii file. I need to get it into a TikZ graphic (1) where the ...
1
vote
1answer
71 views

Using TikZ, how to draw planes non simple curves (self-intersecting curves)?

I can't draw planes simple curves (other than circles or ellipses), closed as these
5
votes
2answers
185 views

new to latex drawing

I am new to latex but heard about tikz from this site. I don't know whether tikz can draw the graph attached. The picture is a curve revolving to generate a volume. I used to use MS Office to get it ...
1
vote
3answers
113 views

Venn diagram with customized colors in overlapping regions [duplicate]

I actually want to reproduce the following Venn diagram: For this, it is important that the central overlapping zone is yellow; it would be nice to reproduce the other overlapping colors too... ...
2
votes
1answer
73 views

Drawing a hash table lookup scheme on overleaf engine with tikz package

As far as I know this is a Tikz table. Could you give me a background on how to make those fancy shadows as well as the dots between table cells? Also, any example of a similar table would be a ...
7
votes
3answers
135 views

Jagged arrow in tikz

I can draw arrows with \draw [->] (0,0) -- (5,5); with tikz. But is it also possible to create jagged arrows like I need to use it exactly as normal arrows; from one node to another.
3
votes
2answers
113 views

Tikz to draw timeline for Infectious

Hello, am asking if someone could help me draw this timeline diagram. Your help is much appreciated.
0
votes
0answers
37 views

Overlay two images and magnify using spy

I have two heatmaps of the same scene, both have the same size but show a different value range. I want to use spy to magnify the chair of the upper image. However, inside the circle that shows the ...
1
vote
1answer
46 views

Stop plot on a point defined by intersection

I am trying to use plot for drawing a path defined using complex polar definition. Currently I plot it using a large domain then I define the intersection with a circle. Now I want to stop the plot ...
1
vote
1answer
29 views

Position \tikz\node on running text flow, aligned at baseline?

In the MWE below, I'd like the inserted "y" nodes to be aligned at baseline, so there is no difference from flow of running text; then finally, I want to align the "X" node with one of the "y" nodes, ...
3
votes
1answer
54 views

TikZ Pics with optional/default parameters

I am trying to set up a small TikZ library or package with pics I can reuse. Thus, I create a file called "tikzlibraryBES.code.tex" with the following content: \tikzset{ % House ...
2
votes
1answer
41 views

Individual node coloring of predefined graphs from TikZ-berge

So far your forum has given me all the information I needed for TeX. Thanks for that. Now, it is the first time, I have a question, I couldn't find an answer to: I want to draw graphs of the Platonic ...
4
votes
1answer
141 views

Trig function not plotting correctly in tikz

I have the following snippet \begin{tikzpicture} \draw[black, domain=0:10] plot({\x}, {cos(((9 - \x)/8)*3.141592)}); \end{tikzpicture} When I compile the file, however, the plot just produces a ...
2
votes
1answer
72 views

Custom TikZ pattern not fully showing

I have the following \documentclass{article} \usepackage{tikz,amsmath, amssymb,bm,color} \usepackage[margin=0cm,nohead]{geometry} \usepackage[active,tightpage]{preview} \usetikzlibrary{shapes,arrows} ...
1
vote
1answer
51 views

3d Graph Error with Plot

I have a problem with plotting a 3d-graph \begin{tikzpicture} \begin{axis}[ title=Exmple using the mesh parameter, hide axis, colormap/cool, ] \addplot3[ mesh, samples ...
2
votes
4answers
113 views

How to center horizontally tikzpicture in beamer frame using a specific node?

The following MWE centers my tikzpicture into the frame: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning} \setbeamertemplate{frametitle}[default][center] \begin{document} ...
2
votes
0answers
145 views

Ishikawa Tikz diagram [closed]

i would like to create a ishikawa diagram (fishbone) like the following one: I've tried to realize it with Tikz but it seems like a bit difficult. \tikzset{ ishikawa/.style = {align=center, inner ...
0
votes
1answer
40 views

Error in Tikz text

I am facing this error when I am using a tikz text Can you please tell me what is wrong ? Package pgfkeys Error: The key '/tikz/text' requires a value. I am going to ignore this key. See the pgfkeys ...
0
votes
1answer
33 views

How to change order of pages when using \pgfpagesuselayout{4 on 1}?

I am preparing a beamer presentation and would like to generate 4 on 1 handouts using: \usepackage{pgfpages} \pgfpagesuselayout{4 on 1} The default order of pages in each slide looks like follows: ...
1
vote
1answer
53 views

Position of labels as updated in a beamer slide tikz block

I am having trouble with updating labels of tikz blocks in a beamer presentation. So far I have been using \onslide to update the block size and location from code in this answer. For the label text, ...
2
votes
2answers
61 views

Problem with drawing of flowchart

I am trying to draw a flowchart. But the nodes are getting overlapped. This is the code: \documentclass[12pt]{article} \usepackage{cite} \usepackage{graphicx} \usepackage[a4paper, margin=1 ...
3
votes
2answers
104 views

Why does this not compile in LaTeX PDF mode?

The following, just compile when I do XeLaTeX mode. You can modify so I can build PDF LaTeX mode? \documentclass[pstricks,border=15pt,12pt]{standalone} \usepackage{pst-plot} \begin{document} ...
3
votes
1answer
55 views

Placing two nodes next to each other

My preamble is this: \usepackage{graphicx,tikz} \usetikzlibrary{matrix,arrows,positioning} \setcounter{MaxMatrixCols}{20} Currently I am ...
1
vote
1answer
57 views

How to draw in simple way Ellipse filled with a gray color and to set a Background?

I would like to draw a Brain tumored phantom. To be simple : I would like to add to a background picture an ellipse filled with gray color. I discovered the package Tikz :) btw I am so happy that ...
2
votes
2answers
114 views

Drawing diagram in TikZ

I want to draw a scheme like the following using TikZ:
2
votes
4answers
135 views

Drawing a ray that bisects an angle

A triangle is drawn via the following code. (In the display, only two of the vertices are labeled. In the code, the vertices are labeled A, B, and C.) I extend sides AC and BC. I want to draw a ray ...
3
votes
1answer
40 views

Random plot based on a specific random seed

I would like to draw a set of random functions f(x) from point A to point B with a fixed random seed for each function. In other words, I would like to have functions which look the same each time I ...
2
votes
2answers
111 views

Custom shapes in Process Flow Diagram with Tikz

I’m trying to draw a process flow diagram using tikz. I'm not an expert, expecially in working with custom nodes. I saw some other questions about chemical process flow diagrams, but they were ...
1
vote
1answer
48 views

Horizontal brace with tikz

I have two nodes next to each other but the right node is higher vertically. I am trying to draw a brace. I'm using \draw [decorate, decoration={brace, amplitude=10pt, raise=2.5pt}] (fill_form.south ...
1
vote
1answer
75 views

Create shaped node with tikz

How can I create a node with the same shape as the box in the upper left having text "Suppliers" in the image below? Besides, does there exist any tikz package with symbols like ...
1
vote
0answers
74 views

Is possible get this image with tikz and random?

I don't know if is possible draw a picture like the next with tikz and some random related command:
4
votes
4answers
105 views

Draw nodes with path in tikz

How can I draw a path of nodes forming a circle with tikz? I have tried placing the nodes manually with \documentclass[tikz]{standalone} \usetikzlibrary{arrows,positioning} \begin{document} ...
3
votes
1answer
63 views

Positioning a label above a brace

I want to position 22 in the "appropriate" position above the brace. Using a node to associate a number with a brace does not put the number at the cusp in the brace by default. Why is that?! ...
5
votes
2answers
523 views

Draw the Ubuntu Logo with Tikz

Starting with Tikz, I'm trying to draw the ubuntu Logo. However, I'm stuck at the begining, since I don't know how to draw the three gap on the logo. My idea is to draw 3 rectangles and fill them in ...
4
votes
2answers
82 views

Annotating picture with tikz and positioning

I am annotating a picture with tikz. I have tried \documentclass[tikz]{standalone} \usetikzlibrary{shapes,arrows,positioning,decorations.pathreplacing} \begin{document} \tikzset{% box/.style ...
3
votes
2answers
76 views

Placing a rectangular node in tikz by specifying two opposing corners

In \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (bottom left) at (10,10); \coordinate (top right) at (20,20); \draw[rounded ...
1
vote
2answers
53 views

Align table columns with tikz picture

I want to align some columns of a table automatically with some lines y-coordinates in a tikz picture and have no idea how to go about it. Moving the table into place via tweaking column widths and ...
3
votes
1answer
70 views

Formatting Mindmap in TikZ

I am wondering if anyone can help me in formatting my mindmap that I have given below so everything is uniform and angles are set according to the number of children in the node? Also, I have tried ...
3
votes
1answer
55 views

How to find angle of vector sum

(Hey all, i think this is my first question here, so I'll try to get it right) I am trying to create a space vector sine wave. The phasor is created as the sum of the three phases, but I cannot get ...
1
vote
1answer
57 views

Typesetting the numerator and denominator in the same font as other characters in a node

In the display, I want the a and 2 in \begin{equation*} y=-\frac{a}{2}x^{2} \end{equation*} to be typeset in font=\footnotesize. \documentclass{amsart} \usepackage{mathtools,systeme,array} ...
4
votes
1answer
118 views

Vertical forest diagram in tikz

I am using the forest package in TeX: \documentclass[tikz,border=5pt,multi]{standalone} \usepackage{forest,array} \usetikzlibrary{shadows} \begin{document} ...
2
votes
2answers
53 views

Rotating a crossed out node

I need a crossed out word in Latex like here: How to cross out a word in LaTex But I need to rotate my cross 45 degrees. Whenever I add a rotate=45, I also rotate my word, which is not what I want: ...
2
votes
2answers
129 views

TikZ drawing (half-dashed circles in different planes)

Although I have ~10 years of LaTeX experience, I never needed any drawings. I'm trying to make this drawing, TikZ definitely seems like the only way, but I'm really in a hurry and I just can't ...