El jue, 05-01-2012 a las 08:29 +0100, aishen escribi?:
> Le 05/01/2012 00:21, Edwin Woollett a ?crit :
> > On Jan. 4, 2012, aishen wrote:
> > ------------------
> >> I would like to integrate yin or yang...
> >> As I am not an expert, I can't solve the 1/2 circle on the right side ?
> >> Is there a way of doing it ?
> > ---------------------------
> > Could you describe in words what you want
> > the image to look like, relating your verbal description to the
> > functions you have defined?
> >
> > Ted Woollett
> >
> >
> >
> >
> Yes, sorry :)
>
> At hawaii edu there is an aera_between_curves.wxm tutorial, after doing
> it with few curves, I wanted to try it with taijiwu (yin/yang symbol).
> But I am unable to hide 1/2 small upper circle as the following included
> pictures : Yin.png is what I obtained, but i would like to delete the
> 1/2 circle on the right, like I did with gimp for yang.png, but with a
> function if possible. Maybe my design is uncomplete or wrong ?
> After I would like to integrate the grey one, I guess it's pi ?
> (depending x,y).
> I hope I explain myself clearly enaugh ?
> Regards
> Henri Girard
draw2d(
proportional_axes = xy,
title = "Ying-Yang",
ellipse(0,0,2,2,0,360),
fill_color = black,
filled_func = -sqrt(4-x^2),
explicit(if x < 0 then sqrt(-x^2-2*x) else -sqrt(-x^2+2*x),x,-2,2))$
--
Mario