<div dir="ltr">Hi,<br>in reference to the following piece of code, I'm trying to paint the curve from <span style="font-family:monospace,monospace">0</span> to <span style="font-family:monospace,monospace">1</span> in a different colour but only between the intersection points <span style="font-family:monospace,monospace">"i1"</span> and <span style="font-family:monospace,monospace">"i2"</span>.<br><br><span style="font-family:monospace,monospace">%----</span><br><span style="font-family:monospace,monospace">\begin{xy}<br>(0,0)*{0}="o";<5mm,0mm>:<0mm,5mm>::,<br>(5,8)*{1}="b", (-5,0)="c", (5,0)="d",<br><br>(-1.5,2.5)="c1", (1.5,2.5)="c2",<br>"c";"d" **\crv{"c1"&"c2"},<br><br>(-4,10)="d1", (4,10)="d2",<br>"c";"d" **\crv{"d1"&"d2"},<br><br>(0,5)="q1", (2,9)="q2",<br>"o";"b" **\crv{"q1"&"q2"}<br>?!{"c";"d" **\crv{~**{}"c1"&"c2"}}*@{>}="i1"<br>?!{"c";"d" **\crv{~**{}"d1"&"d2"}}*@{<}="i2",<br>\end{xy}<br></span><span style="font-family:monospace,monospace">%----<br><img style="margin-right: 0px;" alt="Immagine incorporata 2" src="cid:ii_14f880afe86869da"><br></span>At the moment my workaround is to crate three <span style="font-family:monospace,monospace">\crv</span>:<br>- from <span style="font-family:monospace,monospace">0</span> to <span style="font-family:monospace,monospace">"i1"</span>;<br>- from <span style="font-family:monospace,monospace">"i1"</span> to <span style="font-family:monospace,monospace">"i2"</span> using the syntax <span style="font-family:monospace,monospace">"i1";"i2" **[colour]\crv{..&..}</span>;<br>- from <span style="font-family:monospace,monospace">"i2"</span> to <span style="font-family:monospace,monospace">1</span>.<br><br>With a software like Geogebra I can find the rights coordinates of the control points so that the result seems to be only one Bezier curve, but it's a lot of work.<br><br>Is there a more simple way to achieve the same result?<span style="font-family:monospace,monospace"><br><br></span>Thanks<br clear="all"><br>-- <br><div class="gmail_signature">Diego <br><br></div>
</div>