Linked Questions

4
votes
2answers
739 views

How can I add a node on top of a rectangle path?

How can I add a node on top of a rectangle path ? \path[draw] (upperleft) rectangle (lowerright) node[???] {Top}; I am aware of the midway parameter that I can use, but this locates my Top label on ...
4
votes
1answer
253 views

TikZ: Better solution than nesting tikzpicture?

I created following example script to draw a TikZ that contains a nested tikz: \documentclass[tikz,border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning, shapes.multipart, backgrounds,...
0
votes
1answer
441 views

Node anchor centre of line

If a node is defined as a circle and you want to use anchors (west and east) from the node to draw an arc around the node, how do you ensure that the arc is anchored about the centre (red line in ...
2
votes
1answer
274 views

Drawing local neuro-fuzzy architecture

I am trying to draw some sort of neural network with additional nodes and connections. I have the following code so far, which I mostly copied from around here. \documentclass[border=0.125cm]{...
3
votes
2answers
489 views

Connecting line calculations with fitting node in 3D tikz?

Consider the following MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usetikzlibrary{fit} \usetikzlibrary{3d} \makeatletter \tikzset{ ...
4
votes
1answer
893 views

Move / position tikz \draw plot in reference to a node?

With this MWE: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{fit,calc} \makeatletter \tikzset{ % http://tex.stackexchange.com/questions/47704/how-to-establish-node-anchor ...
2
votes
1answer
501 views

Scaling (and annotating) images in a rotated matrix of tikz nodes, scaled to page size?

In the MWE below, which currently results with this output (click for full-res): ... I want to: Arrange four images in 2 rows, 2 columns, for which I've used a \matrix of \tikz nodes, Have them all ...
4
votes
2answers
370 views

How can I add more coordinates to standard TikZ shapes?

Question I would like to know how to add an arbitrary number of coordinates to the default shapes of TikZ—particularly to the side of a polygon. Sample This is similar to https://tex.stackexchange....
6
votes
3answers
617 views

In tikz, is it possible to define a node and set its position later?

I'm trying to draw a diagram and my code is getting too cluttered and difficult to read. For code style purposes, is it possible to define a node in one place and mess with its positioning later? ...
4
votes
1answer
718 views

How to rotate a composition of Tikz nodes correctly, without rotating the text of their labels?

I have seen How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?; but that question doesn't seem to answer my problem, so here it goes. With the MWE ...
1
vote
1answer
272 views

Background fill for H (high) timing character, and diagram size for tikz-timing

I would like to add a filled background to the H timing character, which otherwise does not have one (it is just a line). I don't want to use the D or U characters which do have a background fill, ...
9
votes
1answer
6k views

Rectangle node with given coordinates in tikz [duplicate]

How do I make a tikz rectangle node with given lower-left and upper-right corners, having a given border color and fill color? I know it seems like a basic question, but I cannot find an example in ...
7
votes
2answers
676 views

tikz/foreach: Protect space after “iteration variable”

I try to draw some nodes in tikz, and as they are very simple I wanted to "shorten" this using a \foreach command: \foreach \xnum in {1,2,3,4,5} { \node at (X\xnum center) {$x_\xnum$}; } You can ...
6
votes
1answer
2k views

Tikz overlay with subfig, axis & externalize

I am trying to draw lines between two different tikz-drawings, placed in subfig-environments, for example the corners of the small blue rectangle in the left image and the corners of the axis ...
44
votes
3answers
50k views

How to set exact radius for a node?

I have a bunch of nodes and would like to size them so that their areas represent some numbers I have (so that if I have two nodes with corresponding values 1 and 2, then the second node's area should ...

15 30 50 per page