Hi Andy,
I had the exact same question a few days ago. There are
many issues involved here, but the short answer to your
question (provided by Carl Witty) is:
you can plot x^(1/3) with
show(plot(lambda x : RR(x).nth_root(3), -10, 10), figsize=[5,5],
ymin=-10, ymax=10)
You don't need to specify xmin and xmax in show since they're
given in the plot command.
Best,
Alex
- --
Alexandru Ghitza
Assistant Professor
Department of Mathematics
Colby College
Waterville, ME 04901
http://bayes.colby.edu/~ghitza/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHvtngdZTaNFFPILgRAvbjAJ9qlM5R2UnmCHwOMV2HOlhg+LcwZACcC21K
Mrx/wRMSjGXeYz2KpkXN0Xo=
=O3v+
-----END PGP SIGNATURE-----
Hi,
What would people think of improving the _error_ message to plot
so that it prints some additional helpful information for certain strikingly
common situations? +1 ? -1?
-- William
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
Good call. I've published a worksheet illustrating this for the next
person to ask it :).
https://www.sagenb.org/home/pub/1702/
Jason