[pstricks] Returning arrow, SOLVED

Andreas Gising a.gising at gmail.com
Tue Oct 28 12:58:15 CET 2008


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

Regards Andreas Gising
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20081028/5e156854/attachment.html 


More information about the PSTricks mailing list