Thanks for this.

This kind of example should appear in the tutorial of the documentation.

Best regards.
Christophe.


2011/12/31 achrzesz <achrz...@wp.pl>

>
>
> On Dec 31, 11:21 am, Christophe BAL <projet...@gmail.com> wrote:
> > Hello,
> > the following command has a very bad output.
> >
> > plot(sqrt((x - 2)*(x - 1)), (-4, 5)) + plot(-sqrt((x - 2)*(x - 1)), (-4,
> 5))
> >
> > How can I ameliorate this ?
> >
> > Best regards.
> > Christophe
>
> Your function is comlex-valued on the interval (1,2)
> so the interval should be excluded
>
> sage: plot(sqrt((x - 2)*(x - 1)), (-4,
> 5),exclude=[1..2],plot_points=1000) + plot(-sqrt((x - 2)*(x - 1)),
> (-4, 5),exclude=[1..2],plot_points=3000)
>
> (other option - construct the graph from 4 pieces)
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to