Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What method should I use, to draw beautiful wavy arrows.

So far I tried the following. I use xy-pic package, there I use @{~>} definition for the arrow.

The code I've composed is like this:

\begin{figure}
\centering
\mbox{
\xygraph{
!{<0cm,0cm>;<1cm,0cm>:<0cm,1cm>::}
!{(0,0) }*+{\bullet_{x}}="x"
!{(2,0) }*+{\bullet_{v''}}="v"
!{(4,0) }*+{\bullet_{y}}="y"
!{(2,1) }*+{\bullet_{u}}="u"
!{(2,-2) }*+{\bullet_{z}}="z"
"x":@{~>}"v"
"v":@{~>}"y"
"y":@/_/@{~>}"u"
"u":"v"
"v":@{~>}"z"
}}
\end{figure}

And the result is like this:

A graph with wavy arrows

The problems that I see in this drawing are:

  • In the arrows from x to v'' and from v'' to y the composition of last "~" and the ending ">" is not good.
  • The arrow from v'' to z is cutted after each "~"
  • The arrow from y to u looks awful.

I search for a tip how to improve the quality of the figure. Thanks.

share|improve this question
2  
I can not answer your question, but I believe that the best would be not to use xy-pic - use TikZ instead. – Hans-Peter E. Kristiansen Dec 16 '12 at 13:29
@Hans-PeterE.Kristiansen I had a feeling that I have to switch to TikZ. I haven't used it before, so I wanted to stay with xy-pic. Thanks for advise. – jutky Dec 16 '12 at 14:28
And may be investigate tike-cd for this kind of graphs. – Manuel Dec 16 '12 at 14:34

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.