On Sun, Jun 9, 2013 at 3:25 PM,  <computational.gr...@gmail.com> wrote:
> Suppose I have a complex function f(z) with a continuous family of zeros 
> (e.g., f(z)=z-|z|)
>
> Is there a way to easily plot the set of zeros of f in sage, regardless of 
> how complicated the function f is?
>

You might find complex_plot useful.  For example, for

f(z) = z - abs(z)
complex_plot(f, (-3,3), (-3,3))

you'll see a *black line* at the zero set of f(z).

In the notebook you mind find an interact like this useful:


z = var('z')
@interact
def _(f = z-abs(z), B=(2..10)):
    show(complex_plot(f, (-B,B), (-B,B)))

Or just click on

http://sagecell.sagemath.org/?q=cdcdd7e5-73b4-4c87-87e2-1be300f86674

> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to