# 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?

-

## closed as not a real question by Werner, Stefan Kottwitz♦May 7 '13 at 19:40

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

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