<div dir="ltr">Hi,<br><br>Thanks for the reply and the example but I think that, at the moment, this is the answer for my problem:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Only quarter- and half- and three-quarter circles, aligning<br>with the usual rectangular axes, can be obtained this way.<br><br>This is not the feature that you want, for arbitrary arcs<br>of circles or ellipses.<br></blockquote><br>because I'm using Xy-pic through XyJax (<a href="http://sonoisa.github.io/xyjax/xyjax.html">http://sonoisa.github.io/xyjax/xyjax.html</a>) which allow me to use Xy-pic in web pages.<br><br>Unfortunately, not all Xy-pic's features are implemented yet, so I was trying to use only the "\cir" command.<br><br>But I will keep in mind your example for when the "\ellipse" command will be available in XyJax.<br><br>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-01 6:29 GMT+02:00 Ross Moore <span dir="ltr"><<a href="mailto:ross.moore@mq.edu.au" target="_blank">ross.moore@mq.edu.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Diego,<br>
<br>
On 19/06/2015, at 5:48 PM, Diego wrote:<br>
<br>
> Hi,<br>
> I can't figure out if is possible or not draw a partial circle segment<br>
> between to arbitrary direction.<br>
><br>
> The manual says:<br>
> *\cir<radius>{<diag> <orient> <diag>}<br>
><br>
> I want draw the part of the full circle, with radius 5mm, that starts from<br>
> (3.5,3.5) and ends in (2.2,4.5), so I use the command:<br>
><br>
><br>
> (0,0)*\cir<5mm>{v(3.5,3.5)^v(2.2,4.5)}<br>
><br>
> but it's completely wrong!<br>
> Which is the correct syntax?<br>
<br>
The Xy-pic Reference manual gives the syntax.<br>
<br>
<br><br>
<br>
Only quarter- and half- and three-quarter circles, aligning<br>
with the usual rectangular axes, can be obtained this way.<br>
<br>
This is not the feature that you want, for arbitrary arcs<br>
of circles or ellipses.<br>
You need to look at the  xyarc  feature; also described in the<br>
Reference Manual, §30 pp.58–62.<br>
<br>
The command is  \ellipse  which has a comprehensive set of parameter<br>
options, allowing various ways to specify exactly what you want to see.<br>
<br>
Your specification<br>
   "with radius 5mm, that starts from (3.5,3.5) and ends in (2.2,4.5) "<br>
is incomplete and perhaps contradictory.<br>
<br>
  What are the units for your coordinates?<br>
  Where should the circle's centre be?<br>
  Do you want the shorter or longer arc for any circle that may exist?<br>
<br>
<br>
Here is a possible interpretation, which ignores the 5mm radius.<br>
<br>
\usepackage[all,arc]{xy}<br>
<br>
 \xy /r3mm/:<br>
(0,0)*{+}*++!U\txt{Origin}<br>
\POS(2.2,4.5)*@{*}="p",*+!RD{p},"p";<br>
\POS(3.5,3.5)*@{*}="c",*+!UL{c},"c",<br>
{\ellipse_{.}},<br>
{\ellipse^{-}}<br>
\endxy<br>
<br>
<br>
 <br><br>
><br>
> Thanks.<br>
><br>
> --<br>
> Diego<br>
<br>
<br>
Hope this helps,<br>
<br>
        Ross<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Diego <br><br></div>
</div>