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)

15
votes
1answer
1k views

Waterfall Chart

For displaying the total effect of a series of values, a waterfall chart can be useful. For example this chart, taken from The Economist, illustrates estimated efficiency potentials in the UK public ...
4
votes
2answers
402 views

Angles in three dimensional space

I'd like to make the markings of the angles of a triangle, in three dimensional space, automatically, using the \tdplotdrawpolytopearc. I tried something like: \documentclass{article} ...
3
votes
1answer
1k views

GraphViz and LaTeX; gives blank PDF

I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page). Now trying with the dot2texi package, which is giving me a blank PDF. I have tried ...
0
votes
0answers
48 views

Tikz graphics not centered [duplicate]

Possible Duplicate: Center figure that is wider than \textwidth I have the problem that as soon as graphics created by tikz get a bit wider, they are not centered on the page anymore. E.g., ...
2
votes
2answers
855 views

Using node shapes or self made tikzpicture as image in legend

I am using the solutions of Using a pgfplots-style legend in a plain-old tikzpicture and Legend in tikzpicture to create a legend in a tikzpicture. In this legend I need a cylinder as image. I ...
3
votes
1answer
367 views

Big table in beamer

I have a big table that does not fit in the slides with Beamer, i write this : \documentclass[10pt]{beamer} \usetheme{CambridgeUS} % theme \usepackage{tikz} \begin{document} \begin{frame} ...
21
votes
3answers
1k views

Letterpress effect through PSTricks or Tikz

I have already typed in the META section of the website a post addressing the question as to how the letterpress (or engraving-like) effect in the headers of the site had been achieved. I know it can ...
5
votes
1answer
465 views

Calculate and draw multiplying, dividing or adding of two plots automatically

My question is related to Calculate and draw difference of two plots automatically, if in that site asking how to make a-b, I am asking you how to make plots as result of a/b and a*b and if you dont ...
4
votes
1answer
950 views

label curve and/or contour name created with pgfplot via gnuplot

I will want to name different contour as one can see it on topographic card. How to do that? I want label on different curve with the parameter that distinguish the curves. I have created 10+10 curves ...
2
votes
3answers
460 views

How to frame a pdf image with a coordinate system (Tikz?)

I would like to know whether it is possible to put a frame around an included image (via \includegraphics). I would like to add a coordinate system to an image.
7
votes
1answer
734 views

Calculate and draw difference of two plots automatically

I'm trying to automatically generate a plot, which visualizes the difference of two other plots. The input source is a single(!) file. The data is filtered by one column with /tr/rowfilter. Here is an ...
9
votes
2answers
656 views

Why are bent arrows with arrow tips not symmetric in TikZ?

They say a picture says more than a thousand words. Is there a good reason why TikZ draws the arrows as skewed as in the left image? Is there any easy way to get good-looking, symmetric arrows as in ...
5
votes
2answers
444 views

Fine-tuning placement of arrows inside TikZ nodes

I would like to have a TikZ node with a few lines of text inside. The node should be a rectangle, wider than the text, and the text should be aligned to the left. After each line of text I'd like to ...
7
votes
5answers
534 views

How to include online postage in a scrlttr2 letter?

The class scrlttr2 is well suited for using window envelopes by default. That means that it prints the address at the standardized position. In Germany, you can buy online postage which is supposed ...
4
votes
1answer
1k views

Can I draw figure 3 y axis using pgfplot?

Can I draw figure 3 y axis using pgfplot? That figure has 3 y axis. 1 y axis in the left, 2 y axis in right position. I am sorry, I could not attach a graph for that. \documentclass{article} ...
10
votes
1answer
6k views

Legend in tikzpicture

I am looking for a way to create a legend in a regular tikzpicture. I found this Using a pgfplots-style legend in a plain-old tikzpicture but I don't know how to put the legend at the wanted ...
12
votes
2answers
1k views

Drawing the Celestial Sphere with Tikz Package

I am new to tikz and have been working from the following example ( http://www.texample.net/tikz/examples/map-projections/ ) to get a head start. For better or worse I have managed to get what I ...
13
votes
1answer
425 views

How to typeset “TikZ”?

I know I can use the macros \TeX and \LaTeX for typesetting the names of TeX and LaTeX (including the necessary vertical alignment trick). But how am I supposed to typeset "TikZ"? (I am asking ...
5
votes
1answer
467 views

Tikzpicture from LaTeX document does not compile in Beamer [duplicate]

Possible Duplicate: Unknown error using tikz matrix of nodes in beamer I have the following tikzpicture environment from my TeX document but I cannot make it work in Beamer. I get the ...
11
votes
2answers
2k views

Drawing a filled-in arc using TikZ

I am trying to draw the area formed by an arc of a circle (specifially 3/4 of a circle, that is 0 <= \theta <= 3\pi/2) with a radius of 4 using TikZ. I also need the interior of that arc filled ...
9
votes
3answers
2k views

Quotes with speech balloons

I looking for a way to do that with TikZ : But I have no idea how to do this quote style. \begin{sballoonquote}{\linewidth}{r}{color}{Donald Knuth} An algorithm must be seen to be believed. ...
3
votes
2answers
812 views

place several figure into one -tikz

I draw several trees and now I want to place them in a figure ( side by side or one below the other ) \documentclass{report} \usepackage{tikz} \usetikzlibrary{fit,shapes} \begin{document} ...
12
votes
2answers
690 views

Text placed in pespective on 3D object

I am experimenting with Tikz to include graphics in my LaTeX documents. I have made a few 2D and 3D diagrams. One of the diagrams contains a 3D pyramid. I want to place text on the front and side of ...
2
votes
0answers
95 views

Inconsistent shading [duplicate]

Possible Duplicate: How can I avoid compiling twice? I am shading first page using following code. \begin{tikzpicture}[remember picture,overlay] \shade[left color=white,right ...
18
votes
4answers
608 views

Tikz changes included graphics

I'm including PDF images into my tikzpicture environment, and the line widths in the included images are different than in the original PDF (some are thick as they should be, some are thin). A ...
2
votes
1answer
762 views

How to draw arcs linking two points in TikZ?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am having difficulties with drawing arcs in TikZ. In the MWE, I am trying a routine that would draw a series of coding ...
2
votes
1answer
656 views

Shadings in head

I am currently trying to code in beamer the following image. So far I got the three beamercolorbox but I can't get the shaded background. Here is the aspect I want: ...
11
votes
2answers
1k views

Drawing 3D Transformer with TikZ or PSTricks

Consider the picture of a transformer on the page: How do I draw this using either TikZ (which I have not used before) or PSTricks?
6
votes
2answers
490 views

How do you draw this prism in tikz/pstricks

The numbers are in Persian (side SB=6 and angle SBA=60 degrees).
4
votes
1answer
120 views

conflict tkz-euclide and nag?

Am I doing something wrong and is this meant to happen? %\documentclass{minimal} edit: should not be used \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} ...
8
votes
2answers
1k views

3d Image using tikz?

I have attempted to draw a sphere between two planes that are defined as follows. a:= 2x - 2y + z + 2 = 0 and b:= 4x - 4y + 2z - 4 = 0 I know that the line is perpendicular to the two planes are ...
1
vote
0answers
55 views

problems with tikz and beamer and ampersands [duplicate]

Possible Duplicate: Unknown error using tikz matrix of nodes in beamer I'm trying to write a beamer document with tikz math diagrams. This code how gives me a " Single ampersand used with ...
15
votes
2answers
2k views

How to make tikz multipart node parts have uniform size?

When making boxed nodes in TikZ, a common requirement is that the nodes be of equal size. Because TikZ automatically adjusts the size of nodes to fit the contents of the node, this is usually done by ...
9
votes
3answers
4k views

TikZ: Using Loop to Draw Grid of Nodes

I am trying to draw an Ising model (in my case, a grid of nodes with an undirected edge between adjacent nodes on the same row or column) using TikZ. I have the grid of nodes working nicely using a ...
15
votes
1answer
802 views

How to typeset a prefix tree (aka trie)

I am currently trying to typeset a prefix tree (also called a trie). I can make a tree just fine with TiKZ, but I find myself unable to make the prefix tree nodes draw acceptably. I have attached a ...
3
votes
2answers
635 views

using grid from Tikz in Texmaker

I use Tikz for creating figures. But there is a problem. If I use for example \begin{tikzpicture} \draw[->] (0,0)--(10,0); \draw[->] (0,0)--(0,10); \draw[help lines] (-0.1,-0.1) grid (9.9,9.9); ...
6
votes
1answer
952 views

Using circuitikz, how do I make a ground node and link to it from several others?

I'd like to get two or three nodes linking to a ground symbol (this is not an electric circuit), as in this attempt: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} ...
7
votes
2answers
210 views

Creating vector logos for embedding in other tex documents

I'm interested in drawing a logo with Tikz to embed either as a PDF or as a code snippet in other Tex documents. In order to do this, I'd like to draw the logo in a small PDF file, size 1 inch by 1 ...
13
votes
4answers
629 views

Why are node names inside \begin{scope} still visible outside?

The following example draws three rectangles, each divided in two parts (they're Lisp cons cells). It works fine, but something doesn't seem right: I have used \begin{scope} inside the \cons macro, ...
5
votes
2answers
772 views

TikZ picture arrow overlapping

I want something like this: but the arrows get overlapped in TikZ! I have tried the following code, but is there a better way than this? \documentclass{article} \usepackage{color} ...
3
votes
1answer
321 views

\nullfont in mathmode

I made some experiments with TikZ like \documentclass{minimal} \usepackage{tikz} \begin{document} \tikz \color{blue} $(a+b)^n$ $n \choose r$; % \tikz Test ; gives nothing \end{document} We get a ...
7
votes
2answers
1k views

TiKZ-picture fitted to page edge

Using TiKZ, I'm trying to create an image that fits the margin of odd-sided pages (a water stamp of sort) for an A6 booklet. My idea was at first to create an image that is exactly the same size as an ...
4
votes
1answer
393 views

How to add axes in a magnified part of a graph using spy?

My problem is the following. I would like to draw the (magnified) axes on the magnified area of spy. For instance, take the following example (from pgfplots.pdf, p.121): % Preamble: ...
4
votes
0answers
1k views

pgfplots legend: how can I set the column/row order of legend entries? [closed]

By default, pgfplots seems to add legend entries row-wise. However, I've plot where I'd like a two-column legend (16 curves) and the first 8 entries to be added to the first column before starting ...
6
votes
2answers
1k views

How to label an image inside tikz

I want to label the images img1 and img2.. can i do that inside my \node? If yes, how?? \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \path (0,0) node(a) ...
6
votes
1answer
4k views

Drawing arrows in beamer

I want to add the arrows as shown in the picture. I an new to latex. Can someone tell the code? i am using beamer class It was made in powerpoint.
13
votes
2answers
1k views

TikZ: How to draw a sine curve in 3D?

I know how to draw a sine curve in TikZ and I know how to rotate it in the plane of the paper. I would now like to draw a sine curve that oscillates in the depth of the paper - to give the impression ...
11
votes
1answer
300 views

How can I put “=” in a TikZ node label specified as an option

When I try to put an = symbol into a TikZ node label specified as an option (using label=), I get an error: Extra }, or forgotten $. Is there a way to specify = in such cases that I'm missing? ...
10
votes
2answers
2k views

Rotated paraboloid/square root in pgf/TikZ

I want to redraw the following graphic in pgf/TikZ. I struggle to draw the rotated paraboloid/the root function. I come this far: \documentclass{minimal} \usepackage{tikz} \begin{document} ...
38
votes
4answers
2k views

Penrose tiling in TikZ

How can I auto-generate a Penrose tiling by TikZ? Here's my code for Mathematica: GG = (Sqrt[5]+1)/2; standardthin = {1/2+Sqrt[GG^2-(1/2)^2] I , 0, 1}; standardthick = {GG/2+Sqrt[1-(GG/2)^2] I, 0, ...