# Lyx Draw a curve from point A to B using xy-pic [closed]

How can I draw a curve using an xy-pic picture to draw a curve from point A to B?

-
Welcome to TeX.sx! Do you know how to use xy-pic so that this is a pure LyX question? Otherwise, use the MWE of this question : tex.stackexchange.com/questions/77859/… –  percusse Nov 21 '12 at 1:17
If you are just starting out I would recommend you look at tikz instead with which you could use something like \draw (A) to[out=30, in=150] (B) after the coordinates (A) and (B) are defined. –  Peter Grill Nov 21 '12 at 1:40
Here is a complete example if you want to try: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (A) at (0,0); \coordinate (B) at (3,0); \draw [red, thick] (A) to[out=30, in=150] (B); \end{tikzpicture} \end{document}. It will look less scary once you cut and paste this in your editor. –  Peter Grill Nov 21 '12 at 1:42