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
0answers
201 views

Tikz issues: mood etc [closed]

I'm sorry if this has been answered before (e.g. see Tikz drawing different type of arrows) but: I am also new to the TikZ package, and I need to make this image: in tikz. Is there a quick way ...
2
votes
1answer
648 views

Making TeXworks use tikz package

I need to create a document (I am using TeXworks) that requires the following packages/libraries: \documentclass[spanish]{article} \usepackage[activeacute]{babel} \usepackage[utf8]{inputenc} ...
2
votes
2answers
726 views

Tikz intersection of lines with unnamed points?

This works: \draw (0,0) coordinate (A); \draw (1,1) coordinate (B); \draw (1,0) coordinate (C); \draw (0,1) coordinate (D); \coordinate (X) at (intersection of A--B and C--D); but this doesn't: ...
2
votes
3answers
402 views

Arrow between two cubes with TikZ

The idea is to create an arrow between the upper surface of the first cube and the upper face of the second cube indicating a multiplication by 2, and an arrow of the upper side of the second cube ...
2
votes
1answer
417 views

How to animate a sine curve in PStricks/Tikz

I would like to know how to set up an animations which consists of two "sub-animations" side by side or above/below, wherein one animation just shows a real number line from say zero to 2 pi one and ...
2
votes
1answer
306 views

Tikz Chains with one side of the leftmost node, thickbold

Good morning everybody. This is actually the first time I write here, so thanks to anyone who is going to reply. I am writing my undergraduate thesis and I am currently stuck at drawing a Turing ...
2
votes
1answer
422 views

Tikz/Forest: highlighting level background

I am using the Forest package and I am trying to paint a gray background for odd and even rows, as well as a label. I already had a version of this diagram that I wrote "manually" with tikz. But it ...
2
votes
3answers
237 views

Overlaying or nesting graphs in tikzpicture with different axis scales

I need overlay or nest a figure in a graph. I try with \pic, but the results aren't good for figure scale, according to graph scale. I try also to define the figure in nodes, to place it in the ...
2
votes
0answers
87 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
2
votes
1answer
117 views

Modify Figure environment

is it possible to modify the Figure environment in order to distinguish it better from the text in a one column document? I mean, I was thinking in doing --------- Figure # ---------- [The ...
2
votes
1answer
431 views

Making a probability tree using tikzpicture / forest

I want to create a probability tree using either tikzpicture or forest. I have experimented a little bit with both, but I'm running into some trouble with both of the programs. First, I have my code ...
2
votes
0answers
250 views

How do I get a straight line in \begin{tikzpicture}[decoration=Koch snowflake]?

The following code \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.fractals} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=3,decoration=Koch snowflake] ...
2
votes
1answer
190 views

Tikz externalization: Latex dvi/ps produces a4paper boundary-box around figure

I am successfully using tikz in combination with externalization and pdflatex for some time now. But now I need to switch to latex->dvi->ps. I followed the instructions from the tikz documentation ...
2
votes
1answer
243 views

Decoration marking arrow style ignored in custom node shape?

I have this dimension line macro which I've put together from examples here; and as it should be visible from the MWE (below) output: ... it works just dandy fine when called from "regular" \draw ...
2
votes
1answer
174 views

Proper syntax for z-levels inside Forest

After reading "Z-level" in TikZ I tried to implement z-layers in my Forest chart, but unsuccessfully: \documentclass{standalone} \usepackage{forest} \usetikzlibrary{backgrounds} ...
2
votes
1answer
643 views

Engineering notation (scientific) as tick labels with pgfplots (maybe via siunitx)?

I would like to have numbers on the ticks labels formatted in engineering notation -- but unlike in How to control pgfplots axis scaling for engineering notation (multiple of 3 exponent)?, I would ...
2
votes
1answer
97 views

What is the overflow limit for a named path in tikz / pgfplots?

I asked this question FillBetween library sometimes works and sometimes does not which led to this answer and discussion http://tex.stackexchange.com/a/180926/6908. There seems to be a limit of data ...
2
votes
2answers
344 views

How to center an ellipse into a frame?

How to center an ellipse into a frame ? I've tried this but it wouldn't work : \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{frame} \begin{tikzpicture} ...
2
votes
0answers
208 views

Using the TikZ spy library to spy on a pixel value in beamer [closed]

I tried to use the TikZlibrary spy to zoom in on a certain pixel image; I am drawing in the image using a scope and red about the problem concerning coordinates in scopes here Magnify part of picture ...
2
votes
1answer
191 views

What's the better way to include a Tikz sheme into a beamer presentation

I have this Tikz schem Code \documentclass[border=10pt]{standalone} %\usepackage[margin=1cm]{geometry} \usepackage{tikz,xcolor} \usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,} ...
2
votes
2answers
169 views

Mark a reflex angle in tikz

Based on the first answer given here, I was trying to mark different angles. However, I need that the last angle (C_1 D C_6) is to be measured from the other direction (reflex angle) which I could not ...
2
votes
2answers
418 views

How can I draw a 3D, three-sided 5-7-9 triangle with TikZ or PSTricks?

I want to draw a triangle with three sides 5, 7, 9 and its incircle in geometry 3D. I used GeospacW. I tried Draw a circle (T) has center origin and has radius r=15/sqrt(11). Take a point A on (T) ...
2
votes
1answer
777 views

Tikzpicture: Line break in node label to right [duplicate]

How can I introduce a line break into the labels of the end nodes in the following MWE? The Tikzpicture will include the line breaks if I remove the label=right: part and just leave label=' but that ...
2
votes
1answer
482 views

TikZ libraries 'shapes' and 'graphs' incompatible and compilations fails with “missing \endcsname”

I need to use the TikZ libraries graphs and shapes in the same document. But they seem to be incompatible. Here is a minimal example that makes active use of the graphs library, but does not need the ...
2
votes
1answer
174 views

Custom style just for width and height?

I have some pgfplot graphs in .tikz files and I want to define a custom style to them that only overrides some entries, and uses whats in the .tikz files for the rest. Example: In my .tikz file I ...
2
votes
1answer
365 views

Defining a custom symbol by path in TikZ

I want to define a 2-to-1 multiplexer symbol, defined by this path: (0,0) -- (1,-0.5) -- (1,-1.25) -- (1.3,-1.25) -- (1,-1.25)-- (1,-2) -- (0,-2.5) -- (0,-1.75) -- (-0.3,-1.75) -- (0,-1.75) -- ...
2
votes
1answer
1k views

Circle symbols inside text - comparing available options

I'd like to include solid and filled circles as part of the text block (indicating some kind of rating), as additional characters alongside to the text characters. See my first example below how I'd ...
2
votes
2answers
120 views

How to change the distance between the nodes and club them and bring them to center in TikZ

\documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} [remember picture,overlay,every node/.style={inner sep=2pt}] ...
2
votes
1answer
321 views

How can I coerce TikZ trees to have directed edges? [duplicate]

Consider the following \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \node{A} [grow=east] child {node{B} child {node{C}}}; \end{tikzpicture} \end{document} which ...
2
votes
1answer
1k views

Custom arrow tip with `arrows.meta` TikZ library

In the spirit of this question, how do I make a custom arrow tip using the new arrows.meta TikZ library? I would like to make a semicircular tip that accepts the open option, ideally, and perhaps ...
2
votes
3answers
294 views

Tikz Nodes Order and Shapes with a General Number of Nodes

This is part 2 of Tikz Nodes Positions and Shapes with a General Number of Nodes, a question I was asked to split. Please refer to the code below. In the table below I'd like to: Control the ...
2
votes
1answer
222 views

How can I convert TikZ to SVG on a Mac?

I'd like to be able to convert a TikZ picture written in LaTeX, into an SVG file which I could load up in Inkscape, for some "tweaking". I have read the threads How can I produce a .svg file from a ...
2
votes
1answer
201 views

Place coordinates halfway (or 75%, etc) up the plot

I am using this macro \newcommand{\ymax}[0]{\pgfkeysvalueof{/pgfplots/ymax}} to do stuff like the following: \draw[dashed] (axis cs:4, \ymin) -- (axis cs:4, \ymax); and this works fine. ...
2
votes
1answer
237 views

using tikz to draw a flattened polyhedron

I want to create the net of a flattened hexagonal based box. Each side of the box is a slight trapezium (so in 3D the sides will not be perpendicular to the base, but that's not important to the ...
2
votes
1answer
124 views

TikZ externalisation in beamer

I want to use the TikZ externalization feature in my beamer document. Works fine, but when I use something like path<1->[draw] (0,0) -- (0,1); path<2->[draw] (0,0) -- (1,0); … only the ...
2
votes
1answer
359 views

Save TikZ plot points calculated with PGF math library to .table file?

Is it possible to let TikZ save and in subsequent compilation runs use the plot points generated with the PGF math library? A (simple) example of such a function plotted that way is: ...
2
votes
2answers
501 views

Fill a table cell with empty lines

This is a follow-up question of Set table background hatched and shaded using tikz. I want to specify the height of the orange cell as "number of lines" like it is done for the \ShadeCell[5] command ...
2
votes
1answer
1k views

Breaking Page with Boiboites Package TikZ

I have a problem with package Boiboites I'm writting an exercise enunciate with this package who occupies more than one page, but i cannot break the page. Here's the code: ...
2
votes
1answer
657 views

! Package pgfkeys Error | compiling a standalone picture as \includestandalone{fig}

I have two tikz pictures in external files (fig1.tex and fig2.tex): fig1.tex \documentclass[a4paper,class=minimal,border=0pt]{standalone} \usepackage{tikz} \usetikzlibrary{plotmarks} ...
2
votes
1answer
378 views

Node next to other tikz

I want to write a code to get a network package structure. 1 var 4 ------------------------------------- | Control | Casa | Mia | Currently I have the code ...
2
votes
2answers
460 views

How to draw a graph by indicating volume of 3D elements but not their position

I have about five thousand observations which I would like to plot in a graph. Since the range of values is wide (from 1 to 108,000, with 90% of the observation taking a value of 2, 99% of the ...
2
votes
1answer
680 views

Draw a vertical flow chart [closed]

I would like to draw a Diagram like the one in the attached picture.
2
votes
1answer
292 views

How do I make my path node follow the path from a certain position?

I am trying to make a diagram with a curved arrow and I want its node to follow the arrow from about the "near end" point. I have been googling for hours now and I can't find the way to do it. I've ...
2
votes
1answer
339 views

TikZ externalise: overlaying figures

I’m using MikTex 2.9 x64 and would like to use the LaTeX -> dvips -> ps2pdf way to compile my document. Additionally I’ve a lot of Matlab2tikZ figures and would like to make use of the ...
2
votes
1answer
288 views

Adding nodes in a style

I have the following code, which draws a matrix and then uses the nodes inside the matrix to create new nodes: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix} ...
2
votes
0answers
235 views

Drawing recursive randomized structures with TikZ

After I learned earlier today how to draw nice randomized trees (Draw randomized tree in TikZ) , I discovered that I'm not quite satisfied with how the results look like - because the structure I want ...
2
votes
1answer
180 views

TikZ: Why is the 2nd intersection not found?

I am trying to construct a tangent line to the dashed curve but TeX is telling me that No shape named intersection-2 is known. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc, ...
2
votes
1answer
370 views

How to adjust the sign of implication sign

I want to get the following implication arrows: But according to percusse's suggestion not implies, not Leftarrow, description in the middle of an arrow in TikZ-cd I would get this: As you can ...
2
votes
0answers
386 views

How do I replace an XYZ coordinate system on an already available plot? [closed]

I have an eps file looking like this: I have no access to the original dataset, so replotting it is not an option. I would like to replace the ugly 80s style coordinate system (Both the captions ...
2
votes
1answer
2k views

gnuplot and TexnicCenter setup

I just downloaded and ran the gnuplot setup exe. Now, how do I setup TeXnicCenter and gnuplot so I can use gnuplot with TikZ? So I have been able to add --enable-write18 but the inverted cycloid ...