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
359 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
451 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
658 views

Draw a vertical flow chart [closed]

I would like to draw a Diagram like the one in the attached picture.
2
votes
1answer
281 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
321 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
285 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
233 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
173 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
358 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
382 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 ...
2
votes
2answers
850 views

venn diagram with TikZ

I'd like to create this Venn diagram in LaTeX (possibly with TikZ): Could you point me in the right direction? I've seen lots of Venn diagram examples using TikZ but none with concentric circles.
2
votes
1answer
286 views

Connecting two nodes in tree rectangular

I want to draw a tree like this: The closest I could get to this was the following code: \documentclass{minimal} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \tikzset{level ...
2
votes
2answers
278 views

caption in a tikz object

I created markov's chain using tikz package. Now I would add to to it caption and label but I got error.How can I add a caption and a label to a tikz object?
2
votes
0answers
239 views

Jpgfdraw and transparency problems [closed]

I have built dozens of shapes with jpgfdraw . The problem I have is problems with the transparency of shapes. Why this happens? is there a solution? I take this as an output in pdf after I've done ...
2
votes
0answers
378 views

TikZ in LyX - compiles, but acrobat says the pdf has an error [closed]

I'm using LyX. I'm trying to use TikZ for the first time (to draw graphs, specically - trees). The LyX code compiles and the pdf is created, but when I open the pdf, Acrobat reader says: "An ...
2
votes
0answers
76 views

tikz matrix and beamer [duplicate]

Possible Duplicate: Unknown error using tikz matrix of nodes in beamer I would put the following figure in a beamer slide I tried with [ampersand replacement=\&] but it does not work ...
2
votes
1answer
1k views

problem with loading tikz

My coauthor sent me a latex file calling for tikz. I find that LaTeX chokes on loading tikz. I am using a freshly installed texlive2012 installation (but I checked same thing happens on TeX Live 2011 ...
2
votes
1answer
3k views

How to make a connection in a tree with a dashed line?

please refer to the answer of how to draw a process flow figure? Now I want to change the line of "and->path1" to the dashed line, i added [style=dashed], unfortunately it doesn't change, why? ...
2
votes
1answer
411 views

Is \x a primitive anywhere?

It is claimed by Marc van Dongen at Use TikZ foreach variable in node that \x is a "TiKZ primitive". Does TikZ have primitives? I can't understand why on earth any package would make \x a primitive, ...
2
votes
2answers
1k views

Aligning tikz node at bottom of page (not paper; including margin)

I already know about \par\vspace*{\fill} to align a piece of text at the bottom of page (image below, left); but how do I do this with tikz? Only thing close I can find is aligning to current ...
2
votes
1answer
167 views

layouts package reads all length as zero with tikz/fontspec/xelatex?

After getting the suggestion to use the layouts package for visual debugging of lengths, I came up with the following example, which I compile with xelatex test.tex: ...
2
votes
1answer
2k views

Problem with itemize indentation in minipage in tikz node

How could I disable the indentation of the items here: The MWE is this (compiled with pdflatex): \documentclass[12pt,a4paper]{article} \usepackage[pass]{geometry} \usepackage{tikz} ...
2
votes
2answers
3k views

Putting labels on arrow mark in Tikz's picture

I've tried to manually put labels (1-2-3-4) on the arrows tip in the center of the connection lines but it seems not working good..How can i fix this? \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
2k views

pgfplots and exp(x) throws error: Dimension too large

I hope, someone can help me. I've the following problem: I want to draw a Graph like this The picture shows the following graphs: exp(x), ln(x), x my code is: \begin{tikzpicture} \draw[ultra ...
2
votes
1answer
482 views

Tikz'spicture: problems positioning shapes inside nodes and arrow's tips in the middle of the line

I need to draw the picture above with tikz's code, and i would know the better way for placing the "zig-zag" lines. Also I would like to put the arrow's tip in the middle of the connection line. ...
2
votes
0answers
896 views

Tikz externalize in draft mode [closed]

This is a follow-up to Draft mode in Tikz externalize hides graphics, but not without externalize I'm writing a long document and compilation takes time. Some plots are included as tikz (export from ...
2
votes
2answers
1k views

Increase space between two tables in minipage and TikZ overlay

Sorry but this is the MWE I could post. I also attached the image. The top image is what I am getting and the bottom one is what I desire. I manage to create nodes but do not know how to connect them. ...
2
votes
1answer
411 views

TikZ does not use square coordinates but polar one, how to change it in order to use Cartesian coordinates?

Consider the following: \begin{tikzpicture}[thick,scale=0.8] \node (v0) at (0,0) [label=right:$\emptyset$] {}; \node (v1) at (40:-2) [label=right:$v_1$] {}; \node (v2) at (70:-1.6) ...
2
votes
1answer
953 views

Plotting area in the plane where two inequalities in two variables hold

I would like to plot the area in the plane where two inequalities hold, both involving two variables. I would like to do it the way Wolfram Alpha does it, but within a LaTeX document. I have looked ...
2
votes
1answer
514 views

Styled or fixed color line-segments in PGF

When I want to plot coordinate data, I know that I can color individual scatter points using defined colors using point meta=explicit. The line segments between two points seem to be colored by an ...
2
votes
2answers
312 views

What is the TikZ equivalent for the following PSTricks code?

I have learnt TikZ several months ago and I almost forgot because I seldom use it. I have a simple and easy object to draw as follows. % incm.tex \documentclass{minimal} ...
2
votes
1answer
290 views

Continuously-sizable brackets?

It often frustrates me that TeX only supplies a small set of bracket sizes to choose from (or rather, the default fonts do.) Has anybody written a package that provides continuously-sizable brackets, ...
2
votes
2answers
926 views

pgfplots: setlength inside foreach

I have the following code, where the size of the cube marks is set to \x inside a foreach loop: \begin{tikzpicture} \begin{axis}[axis lines=none] \newlength{\mylen} \foreach \x in {1,2,...,10} ...
2
votes
1answer
2k views

Bad math delimiter in tikz tree

I'm trying to diagram an extensive form game using TikZ trees. The following code generates errors at compile time. Specifically, it complains about missing $'s and a bad math delimiter. I've been ...
2
votes
1answer
962 views

Why DOESN'T the color of overlapped region between opaque red and green objects become opaque yellow?

In theory, additive mixing Red color and Green color produces Yellow color. In my mental model, additive mixing opaque Red and opaque Green will produce opaque Yellow. But the following attempt, I ...
2
votes
1answer
1k views

Did I install a package successfully?

On my Ubuntu system, I have already installed texlive-full under /usr/share from long time ago. I just tried a simple example with \usepackage{tikz} and it did work fine. Later, I added ...
2
votes
1answer
338 views

using easybmat and tikz packages together?

In continuation to this question, I was looking for a way to add nice diagonal lines inside a BMAT matrix to express a band structure of the matrix. However, a LaTeX file with both TikZ and easybmat ...
1
vote
0answers
30 views

How to flip certain pixels of a QR code?

I would like to modify the data (black square or white square) in a QR code so that to display any graphic feature of my own choice in the code at the expense of sacrificing a certain amount of its ...
1
vote
2answers
64 views

intersection of functions or polygon tikz?

Hello I am creating a plot using tikz I have created 3 functions on a plot and took the area above each of them using drawge. My question is how I can fill the area above intersection of two functions ...
1
vote
0answers
31 views

Large Quantity of Nodes Result in Overlap

When I use a large number of Nodes in Tikz, they begin to overlap (see screenshot below). I tried following the instructions in Overlapping nodes in tikz, but it does not solve the problem in my ...
1
vote
1answer
82 views

Bodegraph - Plotting higher order transfer function

I need help plotting a higher order transfer function using the package bodegraph. The transfer function is mind is the following: Seing as bodegraph has no way of inputting a higher order than 2 ...
1
vote
1answer
39 views

necklace layout string(node) text insertion

How to insert node(arrow) text in the graph of simple necklace layout? my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{quotes} \usetikzlibrary{shapes} ...
1
vote
1answer
83 views

LaTeX Template for Newsletter/Brochure

I am looking for a LaTeX template that can be used for a brochure-like newsletter, A4 format, column-like design with optional spanning pictures, marginless pictures, marginless headlines. I browsed ...
1
vote
1answer
95 views

How to export the eps file from the .tex file using pdfLaTex?

How to export the image in .eps from the tex code using PdfLaTeX in TeXStudio. \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} A\arrow{d}\arrow{r}[near ...
1
vote
1answer
131 views

TeX capacity exceeded using pgfplots with/without externalization

The following MWE compiles (for me) \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{external} \tikzexternalize[prefix=figures/externalized/] ...
1
vote
0answers
159 views

drawing a nerve cell

Can the next drawing be done? and if possible as a nice 3-d editable object that can be displayed part by part (as using visible<1> visible<2>). That is the best I can do, which I am not ...
1
vote
1answer
127 views

Package for drawing cause effect graphs (-> software test technique)

Is there a package or a package extension for drawing cause effect graphs (see the screenshot below for atomic elements). If there is no package can someone explain how I can achieve this by using ...
1
vote
1answer
135 views

Change mark size in legend entry

I want the marks in the legend to be bigger than in the plot. But I'm facing the problem that if I use mark options in legend style, then I can't use it again in addplot. At the moment I get the ...
1
vote
2answers
527 views

How can I fill the grid cell with color in this grid?

I have got a grid which looks like this \tdplotsetmaincoords{60}{125} \begin{tikzpicture} [tdplot_main_coords, grid/.style={very thin,gray}] \foreach \x in {-2.5,-2.25,...,2.5} ...