<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
''Message: 5<br>
Date: Mon, 27 Oct 2008 22:01:44 +0100<br>
From: Herbert Voss <Herbert.Voss@FU-Berlin.DE><br>
Subject: Re: [pstricks] Returing arrow<br>
To: Graphics with PSTricks <<a href="mailto:pstricks@tug.org">pstricks@tug.org</a>><br>
Message-ID: <49062C38.5070703@FU-Berlin.DE><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Andreas Gising schrieb:<br>
<br>
> I need to make an arrow returning to the same box it comes from. I would<br>
> also like to apply a label to that arrow.<br>
><br>
> I have a \psidiabox representing a 'wait'-function.<br>
> \ncline lookes like crap, because it makes an arrow straight across the box,<br>
> and \ncbar does not allow labeling?<br>
> Suggestions?<br>
><br>
> \psset{shadowcolor=black!70}%<br>
> \begin{psmatrix}[rowsep=0.5,colsep=0]<br>
> \label{flow:sync}<br>
> \psovalbox[fillstyle=solid,fillcolor=blue]{Start} \\<br>
> \psframebox[shadow=true]{Start reception cycle and counter} \\<br>
> \psdiabox[fillstyle=solid, fillcolor=blue]{Counter = 70ms ?} \\<br>
><br>
> \psframebox[shadow=true]{Collect results} \\<br>
> \psframebox[shadow=true]{Start new reception cycle and restart<br>
> counter} \\<br>
> \psdiabox[fillstyle=solid,fillcolor=blue]{Received a pulse?} &<br>
> \psframebox[shadow=true]{Out of sync, counter += $\delta$} \\<br>
> \psdiabox[fillstyle=solid, fillcolor=blue]{Counter = 70ms ?} \\<br>
> \psframebox[shadow=true]{Collect results} \\<br>
> \psframebox[shadow=true]{Start new reception cycle and restart<br>
> counter} \\<br>
> \psdiabox[fillstyle=solid,fillcolor=blue]{Received a pulse?} &<br>
> \psframebox[shadow=true]{Out of sync, Counter += $\delta$}\\<br>
> \psframebox[shadow=true]{Sync is OK, tune} \\<br>
> \psdiabox[fillstyle=solid, fillcolor=blue]{Need tuning?} \\<br>
> \psframebox[shadow=true]{Counter $\pm=\frac{\delta}{4}$} \\<br>
> &\psframebox[fillstyle=solid, fillcolor=green, shadow=true]{Tuning<br>
> is good}<br>
> % Links<br>
> \ncline{->}{1,1}{2,1}<br>
> \ncline{->}{2,1}{3,1}<br>
> \ncline{->}{3,1}{3,1} % Not looking good..<br>
<br>
\ncloop[angleB=180,loopsize=7mm]{->}{3,1}{3,1}<br>
\ncput[npos=1.6]{label}\ncput*[npos=2.9]{also}<br>
<br>
<br>
Herbert<br>
<br></blockquote></div><br>Thank you Herbert, you solved my problem!<br><br>Regards Andreas Gising<br> <br>