{nodes} is about nodes in {diagrams}.

learn more… | top users | synonyms (1)

3
votes
1answer
51 views

Putting text at bottom of ellipse in a tikz picture

I have the following code: \documentclass[journal]{IEEEtran} \usepackage{tikz} \usetikzlibrary{shapes,backgrounds} \begin{figure}[ht] \begin{tikzpicture} \node[rounded corners, draw, fill=gray!20 ...
5
votes
2answers
69 views

Defining node inside curly braces

I am trying to define a node inside a curly braces {}: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \Tree [.CP \node(y){here}; [.C$'$ C ...
1
vote
2answers
63 views

Getting an error when defining a macro in a TiKZ picture

I like a certain style of vertices in my TikZ drawings so I want to define a macro to save time formatting. It has two arguments, one names the node, the next is its location. It should have a blank ...
3
votes
2answers
126 views

TIKZ: Stacking two nodes with equal width without double drawing the overlapping shapes

I am trying to stack 2 Tikz nodes directly below each other with no space and without having the double-thick shape between them. Furthermore, both nodes should have the same width, either fixed or ...
0
votes
0answers
32 views

Graph not drawing correctly when within a node

I am having a problem getting a graph to come out correctly. \documentclass[journal]{IEEEtran} \usepackage{graphicx} \begin{axis}[ title={}, xlabel={$q$}, ylabel={Time /seconds}, xmin=6, ...
2
votes
3answers
61 views

Text beneath two function graphics inside of a figure

Is there a way to put extra text under some function plots in the following code? I need them to appear side by side on the page in the same figure and I do not what to use an extra caption. The text ...
9
votes
3answers
185 views

Tikz Edge: Distance from other nodes?

I have the following Tikz code: \usetikzlibrary{positioning} \begin{tikzpicture} \tikzstyle{bordered} = [draw,thick,inner sep=5,minimum size=10,minimum width=100,font=\sffamily] ...
2
votes
0answers
59 views

How to place two plots inside a node?

I'm eager to have two plots (of the algebraic functions) placed horizontally inside a node. I'd like them to be signed, so something like caption (below the plot) is needed. One of them — "the good ...
5
votes
1answer
58 views

TikZ Spacing Between Arrow and Node

I'm attempting to draw a simple diagram comprised of three nodes arrange in a triangle. I'm having a difficulty with getting the arrows to "connect" to one of the nodes, there's a small space between ...
2
votes
1answer
49 views

How to define node / coordinate with perpendicular

How to define / save a point for later usage with x/y-coordinates of other points? I tried to use the perpendicular coordinate system shortform |- and -| but could not define points that way. In ...
2
votes
1answer
70 views

How can I set the position of text along path in tikz more precisely?

Explanation It seems that nodes can be carefully placed on paths using pos=.25 (i.e. 25% from node BEGIN to node END) when using -- syntax (see Example A). Problem I cannot have the same precision ...
5
votes
1answer
82 views

How to draw inside a TikZ node using node style with arguments?

The question is an extension to this question, and is also related to this one. I want to draw a Simulink-style sum block which is basically a circle node with a port in each direction (north, west, ...
4
votes
3answers
151 views

Two parallel curved edges in Tikz (Or, one curved edge with two colors side-by-side)

I'm working on a series of (linguistic) diagrams in which nodes are connected by lines. Some lines need to bend to go around other nodes. Each diagram has 16 nodes and lots of lines (>50). ...
3
votes
1answer
84 views

Distance between arrows and nodes in tikzcd [closed]

How can I adjust the default distance between arrows and nodes in tikz-cd? I prefer a global solution, but a local solution would also be fine. I think the default distance is a little bit too large ...
3
votes
1answer
80 views

How to label nodes in a Hasse diagram?

In this question I'm using the term label in the traditional sense of word. I clarify this because I'm under the impression that this is also a technical term within the TeX universe. The code ...
3
votes
2answers
145 views

Connect Tikz nodes via two parallel arrows

I am just starting to learn using Tikz and am a little lost within its seemingly infinite amount of options and possibilities. What I am trying to do is visualize a few Matlab function interaction ...
5
votes
1answer
49 views

Tikz node positioning in math-environment especially \frac

(this is my first TEX-question). I'm trying to label an equation within a tikzpicture. I did it this way: \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} ...
3
votes
1answer
34 views

text not rendering inside node

In my document I have a diagram that is using tikzpicture to show a few boxes with some descriptive text inside the borders of the boxes. So far I've been having troubles with the formatting which is ...
3
votes
1answer
62 views

Nodes Near coords hide when 0

Is it possible to hide nodes near coords in pgfplots when value = 0 ? I have something like this. And axis setting \begin{axis}[ ybar, bar width=3pt, nodes near coords ]
5
votes
2answers
107 views

Coloring a node after its creation

I want to fill a node with a specific color, but not with the usual [fill=blue] way. The reason is, that I am creating many many nodes and I want to fill some random nodes with a different color from ...
5
votes
1answer
82 views

Consistency in the appearances of loops from rectangular nodes

I would like to have a left-positioned loop "look the same" as a below-positioned loop emanating from a rectangular node. \documentclass{article} \usepackage{tikz} \tikzstyle{rect} = [rectangle, ...
4
votes
1answer
64 views

how to add labels to arrows avoiding conflicts with existing node shapes

Ok, I've made the following diagram: I want to add text labels to the various arrows (at the red points) and I want to ensure that the labels do not overlap the dotted lines, the arrow lines etc. ...
1
vote
0answers
75 views

LaTeX Tikz - “did you forget a semicolon” with this flowchart [closed]

I cannot get this document to render. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} % Define block styles \tikzstyle{decision} ...
3
votes
0answers
43 views

Arrow box aligment

I have to align vertically "arrow boxes" in the picture below? So I have two questions: How to read "inner sep" register value and bounding as well connecting lines thickness register values of ...
3
votes
1answer
72 views

Tikz: Lining up input and output nodes in multiple input multiple output diagram

I am attempting to draw a multiple input multiple output style diagram, using code that uses the following structure: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} ...
0
votes
2answers
50 views

How to make a diagram of the Petersen graph using pstricks

How do I make an equilateral star inside a pentagon?
3
votes
1answer
158 views

Is it possible to set a maximum node width in TikZ

I would like these two nodes to be the same size -- the size of the smaller one. In essence I'd like to be able to set maximum size=6mm but there is no such option. How can I do this? ...
4
votes
2answers
65 views

Issue with nodes using tikzstyle

I am having some trouble forming a game tree. My third layer appears to want to connect to the labels of the layer above, rather than the end nodes. Here is an image and the following is what is ...
5
votes
1answer
97 views

How to fix naive solution for elements grouping?

I'm trying to create elements grouping .pic: have children of unknown layout (doesn't even has to be node structure, it could even be plot, or tree ) act like a node - anchor it as one element, ...
1
vote
0answers
60 views

How to define node blocks as composition from inside out?

I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them. I need to define block with ...
2
votes
1answer
73 views

How to create tikz `\node` command and retain access to it's properties from outside?

I'm trying to create latex command for specific node layout in tikz: \begin{tikzpicture} \node (anode) [lestyle, rectangle split, rectangle split parts=2] { \textbf{node A} ...
1
vote
1answer
72 views

Beamer: Nodes inside itemize

I am trying to include nodes as items, so that the text is aligned as it was a normal item, but I could still include arrows and boxes as in the MWE below: \documentclass{beamer} \usepackage{tikz} ...
4
votes
2answers
177 views

TiKZ matrix of objects

I am drawing diagrams which consist of grids, some cells of which are filled with circles, like this: I created this picture with \begin{tikzpicture}[scale=0.6] \draw[shift={(0.5,0.5)}] (0,0) ...
2
votes
1answer
74 views

Label node in CircuiTikz

It is easy to set a label to a component, but is it possible to place a label on a single node? For example, what I would be after, circled in red here:
3
votes
1answer
28 views

Long node undesiringly cropped outside of pgfplot

I have a node within a pgfplot that is rather long. I know I can move the node along using pos but that's not what I want, since in the actual applications I have more objects on the plot. On the ...
6
votes
1answer
113 views

Flowchart-decision shape - enforce aspect of pgf diamond shape

I am using TikZ/PGF to build a flowchart. To construct the shapes I need, I used the flowchart package plus the ones given in this excellent answer. I modified the decision shape to have the aspect ...
6
votes
1answer
98 views

Node transparent background

I have a very specific problem that repeats several times. On picture I have a line and above line I have an arrow with a node. Because of the line, node is not visible enough (picture left). What ...
2
votes
1answer
33 views

How to supply marker options such as rotate to \pgfuseplotmark?

I want to use a marker style for a node, so I'd like to have a bit of code like this: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{plotmarks} \begin{document} ...
3
votes
1answer
92 views

Changing filling of some node in tikzpicture using \matrix

I have used the handy \matrix trick in a tikzpicture (see code) to build up a graph. Now I wanted to change the filling of one node. I can't find out how! Of course, I can find out, how to change ...
3
votes
1answer
49 views

Spacing issue in subfigure/tikzpicture when labelling arcs

I have two simple graphs side by side that align perfectly when the arcs are not labeled, but as soon as I add the labels I get a spacing issue where there is a space between the second figure and its ...
1
vote
1answer
89 views

Remove white space from empty nodel label in tikz-qtree?

With empty nodes in tikz-qtree how do I remove the white space where the node label usually appears? In the following example I want to remove the white space for the node under Foot 3. ...
2
votes
0answers
39 views

How to print gnuplot fit params in a tikz node?

I have defined a macros for curve fitting and plot as: \newcommand{\logfit}[4]{\addplot[no markers, black, line width=0.15pt] gnuplot [raw gnuplot] { %command for log fit f(x) = b*log(x) + c; b=0; ...
3
votes
1answer
79 views

Tikz style which can be used via \tikzset to disable text

I am looking for a \tikzset with which I can disable text from rendering. With a \draw I can say draw=none, as in (2), but is there something equivlaent to text=none I can use to disable the text as ...
6
votes
3answers
163 views

TikZ: Node position in draw environment

I am drawing some diagrams of mechanical systems which have many rotated components. For each of these components I am attaching a coordinate system, which is often rotated with the component. I am ...
4
votes
2answers
183 views

Defining a new node shape for an electronic multiplexer

I found this question which suggests making a multiplexer symbol with 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) -- ...
3
votes
1answer
108 views

Node below axis annotation in tikzpicture/pgfplots

I want below the axis annotation a node (with some text) and from this node a arrow should point to a specific point on the x-axis MWE \documentclass[paper=a4, fontsize=12pt]{scrreprt} ...
3
votes
3answers
101 views

Change the distance of text lines in tikz nodes with Beamer

I have a tikz tree that doesn't fit on the slide. The theme and the linespread is given, so I only want to change the line distances of the text in the tikz nodes. But nothing worked for me :( ...
1
vote
1answer
57 views

creating a background for a group of nodes

How can I put a background for a group of nodes (but the group of nodes is created before drawing the background). The problem is that if I draw a rectangle before creating the group (i.e. before ...
4
votes
3answers
130 views

Positioning a node with respect to a group of nodes

I have a set of nodes that is generated by a macro, and I would like to position a node with respect to the north, west, south of this set of nodes. In my example I would for instance like to position ...
2
votes
1answer
115 views

Improve flow chart template with rectangle split

I'm try to build a flow chart template: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts,amssymb,graphicx} \usepackage[left=2.00cm, right=2.00cm, ...