# Tag Info

5

Using text depth and text height, you can control the total height for the nodes; text width gives you control over the width (there's also a minimum size key which could be used): \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture}[every node/.style={anchor=base,text depth=.5ex,text ...

2

It is somehow unclear what you are asking. Do you want to have multiple hidden layers? Then how about output layer connections. I did something based on my understanding of your question. Please comment if it is not exactly what you want. My answer is based on your own code and this example. \documentclass{article} \usepackage{tikz} \usetikzlibrary[topaths] ...

2

An even easier version is using the label option for nodes: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[draw,circle,label=left:010101] (CircleNode) at (0,0) {A}; \end{tikzpicture} \end{document} It looks just like Peter Grill's solution.

1

Yet one more: \documentclass{article} \usepackage{amssymb} \begin{document} Hello $\boxtimes$ Word \end{document} And a lowercase version without packages: \documentclass{article} \def\BoxedTimes{\fboxrule=.04em\fboxsep=-0.11em\fbox{\makebox[.725em]{$\times$}}} \begin{document} Hello \BoxedTimes{} Word \end{document}

1

I think the problem is that the PGF maths functions return their result with a decimal point by default even if the result is an integer. So you get 4.0 rather than 4 from the modulo operation. The math library offers a way to avoid this. However, note that I have never used this library before and I've never really used PGF maths either. Caveat emptor... ...

1

Just quickly, don't have time for a full MWE right now; but one can also use the mark=text plot style with text mark as node=true: \addplot+[ only marks, mark=text, text mark={}, % empty for now; try also \coordindex text mark as node=true, text mark style={% name=MYNODE\coordindex, color=orange, shape=circle, draw, inner ...

5

I'd suggest adopting positioning library uses which introduced more flexible placement options or convert you diagram into a matrix which is very usefull for such regular constructions. With positioning you code could be changed to \documentclass[tikz, border=10pt]{standalone} \usetikzlibrary{arrows, positioning} \begin{document} \begin{tikzpicture}[ ...

3

You can place nodes at the end of the plot simply by adding node {text} at the end of the \addplot command: \addplot table[x=Alter, y=P3] {\perzentile} node {P3}; You can move the node along the plot line by using the optional [pos=<fraction>] key. If you do want to position your node in the coordinate system manually, you should use the axis cs ...

Top 50 recent answers are included