How to make this type of diagram? I'm using tkz-graph, but I can't find a way to add this vertical arrow.
120890
Can't understand how to draw it.
78744
I'm a recent convert to TikZ from xy-pic, and am still trying to get a hang for it. I see that one can add labels to the end of arrows and the like using \node. Is there a way to add an arbitrary piece of text at a given position in the text, regardless of whether there is a shape there, a line there, or nothing at all? Thanks very much for your insight.
121992
I understand that there are some questions here regarding the block diagrams. However, I am strongly interested in one particular style shown as below:    This is a picture from a paper. As can be seen, the text can be selected there. So it is not an attached picture. I suppose it is done by LaTeX.  Could anyone point me to the right direction to achieve this?  (I specially LOVE the colored "thin grid"! It is much more beautiful than the fully filled color!)
91856
I'm using TikZ for the first time to draw a simple Kripke model, and I'm using the child notation to produce new nodes. How can I turn my edges into arrows?  \begin{tikzpicture}   \node [circle,draw] (q0) {}   child {node [circle,draw] (q1) {$p$}     child {node [circle,draw] (q4) {$p$}       child {node [circle,draw] (q7) {$p\land q$}}       child {node [circle,draw] (q8) {$p\land q$}}       child {node (q9) {} edge from parent[-&gt;, dashed]}}     child {node [circle,draw] (q5) {$q$}}     child {node (q6) {} edge from parent[dashed]}}   child {node [circle,draw] (q2) {$p$}}   child {node (q3) {} edge from parent[dashed]}; \end{tikzpicture}   I know how to change the color or thickness of all edges by passing an option at the beginning of \begin{tikzpicture}, but I can't turn them into arrows.   Also, while we're at it, is there a way to label these edges? Or am I left with simply using node notation for all my nodes?  Thanks for all your help, Piotr
101101
I'm relatively new. I know how to make a water bottle starting with a circle and extruding upwards while using a combo of extrude and scaling to make indents, but how would I do something like this? I'm still trying to wrap my head around some of the photos I see out there. This is such an incredible program. Thanks for your help!
104207
I would like to plot circle (or another curve) with positive direction (and show it wit arrows).  This plots the circle  \documentclass{article} \usepackage{tikz} \RequirePackage{pgfplots} \usetikzlibrary{shadows} \usetikzlibrary{shapes} \usetikzlibrary{decorations} \usepackage{verbatim} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} \begin{document} \begin{tikzpicture}     \begin{axis}[             xmin=-1.5,xmax=2.5,ymin=-1.5,ymax=1.5,             axis lines=center,             ticks=none,             unit vector ratio*=1 1 1,            ]                   \addplot [very thick, smooth, domain=(0:2*pi)] ({1.+cos(deg(x))},{sin(deg(x))});        \addplot[only marks,mark=*] coordinates{(1,0)};         \end{axis} \end{tikzpicture} \end{document}   And I want to add arrows like that    Would you advise me how to add such arrows?
44248
I would like to show, in my latex document, some in-text arrows similar to the ones in the attached figure. I know about the \leftrightarrow and \updownarrow commands, but I don't know how to combine them, nor how to rotate them. Is tikz necessary to achieve this?    Any help will be much appreciated.  EDIT: I clarify better, I'm sorry if my question was unclear. I would like to avoid math mode (but it's not important) and tikz as well (to avoid loading too many packages), but having a look around it seems that tikz is necessary to do it. In the end, I'd like to have something like A \to B but with the symbols I described.  For future reference, my question would be similar to .
33169
I'm looking to create something like this in Tikz environment. Any tips? help?
88180
I'd like to know if it is possible to create a equation like the one shown in the figure below. And if it is possible, how can I do it?  Desired characteristics:   Side comments aligned between equations Curved arrows pointing from one equation to another   Can someone help me?
8418
Arrow heads added to arches with small radius look ugly, they do not look symmetrical. Here is an example :      \documentclass{article}     \usepackage{tikz}     \usetikzlibrary{arrows.meta}      \begin{document}     \begin{tikzpicture}[&gt;=stealth]     \draw[-&gt;] (0,0) arc (00:290:.15cm);     \end{tikzpicture}     \end{document}   This gives an arrow like (screenshot of 24x magnification):    What I would like to have is something like:    Is it possible, how?
25756
I want to sketch this figure.. if you guide me to draw one of this arrows with direction i would be grateful..
3786
I have a question about my diagram. How can I increase the gap between the arrows and the labels? I would like to have more space between the left arrow and the label (2). Thanks for any suggestions.   \documentclass{amsart} \usepackage{graphicx} \usepackage[all]{xypic}  \begin{document}      \begin{equation*}     \begin{gathered}     \quad         \SelectTips{cm}{} \xymatrix@C=4.5em@R=4.5em{ A        \ar@&lt;-1ex&gt;@{=&gt;}[d] _-{(3)}\ar@&lt;1ex&gt;@{=&gt;}[r]^-{(1)}  &amp; B               \ar@&lt;1ex&gt;@{=&gt;}|{{\object@{/}}}[l]^-{(2)}         \\          C         \ar@&lt;1ex&gt;@{=&gt;}[r] \ar@&lt;-1ex&gt;@{=&gt;}[u] |{\object@{/}}|{}_-{\;(4)}   &amp; D       \ar@&lt;1ex&gt;@{=&gt;}[l] \ar@&lt;-1ex&gt;@{=&gt;}[u]_{\;(5)} }      \end{gathered}      \end{equation*} \end{document}
74588
I want to plot this graph, but I don't know how to code the words in the nodes.     Here is my code:  \documentclass{article} \usepackage{amsmath} \usepackage{titletoc} \usepackage{tikz} \usetikzlibrary{trees,positioning,fit}  \begin{document}{\allowdisplaybreaks[4]}  \tikzstyle{bag} = [text width=2em, text centered] \tikzstyle{end} = []  \begin{center} \begin{tikzpicture}[sloped] \node (a) at ( 0,0) [bag] {$\ln r_0$}; \node (b1) at ( 3,1.5) [bag] {$\ln r_{10} + \sigma_1\sqrt{\Delta t_1}$}; \node (b2) at ( 3,-1.5) [bag] {$\ln r_{10}$}; \node (c1) at ( 6,3) [bag] {$\ln r_{20} + 2\sigma_2\sqrt{\Delta t_2}$}; \node (c2) at ( 6,1.5) [bag] {$\textrm{Mean} = \ln r_{20} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2}$\\$\textrm{Mean Change} = \mu_{11}\Delta t_2 = \ln\dfrac{r_{20}}{r_{10}} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2} - \sigma_1\sqrt{\Delta t_1}$}; \node (c3) at ( 6,0) [bag] {$\ln r_{20} + \sigma_2\sqrt{\Delta t_2}$}; \node (c4) at ( 6,-1.5) [bag] {$\textrm{Mean} = \ln r_{20} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2}$\\$\textrm{Mean Change} = \mu_{11}\Delta t_2 = \ln\dfrac{r_{20}}{r_{10}} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2} - \sigma_1\sqrt{\Delta t_1}$}; \node (c5) at ( 6,-3) [bag] {$\ln r_{20}$}; \draw [-&gt;] (a) to node [below] {} (b1); \draw [-&gt;] (a) to node [above] {} (b2); \draw [-&gt;] (b1) to node [below] {} (c1); \draw [-&gt;] (b1) to node [below] {} (c2); \draw [-&gt;] (b1) to node [below] {} (c3); \draw [-&gt;] (b2) to node [below] {} (c3); \draw [-&gt;] (b2) to node [below] {} (c4); \draw [-&gt;] (b2) to node [below] {} (c5); \end{tikzpicture} \end{center}  \end{document}       Update code use  \draw [-&gt;] (a) to node [below] {} (b1.south east); \draw [-&gt;] (a) to node [above] {} (b2.north east); \draw [-&gt;] (b1.south east) to node [below] {} (c1.west); \draw [-&gt;] (b1.south east) to node [below] {} (c2.west); \draw [-&gt;] (b1.south east) to node [below] {} (c3.west); \draw [-&gt;] (b2.north east) to node [below] {} (c3.west); \draw [-&gt;] (b2.north east) to node [below] {} (c4.west); \draw [-&gt;] (b2.north east) to node [below] {} (c5.west);
46629
I need to draw this kind of simple sequency diagram, but I'm not very good with TikZ:    \begin{figure}[!ht] \begin{center} \begin{tikzpicture}[node distance=2cm,auto,&gt;=stealth']     \node[] (server) {server};     \node[left = of server] (client) {client};     \node[below of=server, node distance=5cm] (server_ground) {};     \node[below of=client, node distance=5cm] (client_ground) {};     %     \draw (client) -- (client_ground);     \draw (server) -- (server_ground);     \draw[-&gt;] ([yshift=-1cm]client.south) -- ([yshift=-1cm]server.south);     \draw[-&gt;] ([yshift=-1.5cm]server.south) -- ([yshift=-1.5cm]client.south); \end{tikzpicture}   I also want the lines to be straight and have text over them.
83693
Very new LaTeX user here!   There are a ton of impressive graphs on this site. I, however, am trying to make a nice looking line on a simple graph by plotting two (x,y) coordinates: (8, 2) and (-2, -3).  Can somebody please help me with this? Here's what I had in mind:   I've found a lot of information on parabolic graphs and much more advanced stuff, but nothing on really simple graphs.   Here's what I made:  \begin{tikzpicture}     \draw [thin, gray, -&gt;] (0,-5) -- (0,5)      node [above, black] {$y$};       \draw [thin, gray, -&gt;] (-10,0) -- (10,0)        node [right, black] {$x$};                   \draw [draw=red,ultra thick] (8,2) -- (-2,-3);   \end{tikzpicture}   I spent a long time trying to figure this out and mad a pretty stupid looking graph (which is huge):
122859
I have 3 nodes placed on a circle.  These nodes are differently shaped.  I want to connect them and want the arrows to look like a circle, because it is a repeating process.  I can connect them with bend left, but that is not circle enough for me.  I could mess around with in=... and out=..., but that is not a smart solution, because I would have to mess around every time I want such a picture.  Here an example code:  \documentclass{article}  \usepackage{tikz}   \begin{document}     \begin{tikzpicture}      % three differently shaped nodes on a circle     \node [rectangle, draw, text width=3cm] (a) at (180:3cm) {Hello World! Hello World!};     \node [rectangle, draw, text width=2cm] (b) at (60:3cm) {Hello World!};     \node [rectangle, draw, text width=2cm] (c) at (300:3cm) {Hello World!};      % connectors between the nodes     \draw[-&gt;] (a) to [bend left] (b);     \draw[-&gt;] (b) to [bend left] (c);     \draw[-&gt;] (c) to [bend left] (a);      % the circle I wish the connectors to be placed on     \draw[dashed,red] circle [radius=3cm];      \end{tikzpicture} \end{document}   I would like the connectors to be placed directly on the red dashed circle.  Has anyone a smarter solution than try and error with in and out?
116818
Thanks for helping me out.  How can I make the following tree-diagrams?