When I try the following:
sage: x,y = var('x,y')
sage: region_plot(1/x + 1/y > 1/x * 1/y, (x,-10,10), (y,-10,10)).show
()
I get an error (the last line of the Traceback is reproduced below):
TypeError: reduce() of empty sequence with no initial value
This error occurs in both the notebook and at the Sage prompt. I found
this in versions 4.1.2 to 4.3, but I don't know about the versions
before 4.1.2.
Interestingly, the following commands work:
sage: region_plot(1/x + 1/y < 1/x * 1/y, (x,-10,10), (y,-10,10)).show
() # '>' changed to '<'
sage: implicit_plot(1/x + 1/y == 1/x * 1/y, (x,-10,10),
(y,-10,10)).show()
I'm not very proficient at using Sage, so I appreciate any ideas and
advice.
Tianwei
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org