Hello,
As a first pass, just surround the evaluation with a try/except, as
you would in Python. Perhaps you could set the value in the except
clause to nan.
For the 2d-plot, I test if a result is a real number by theses tests :
#
# The real number without infty nor NaN=NotANumber
Would all these ideas for testing deal with the triangulation issue,
Bill? Your original post seems to imply this.
- kcrisman
On Nov 17, 8:01 am, Francois Maltey fmal...@nerim.fr wrote:
Hello,
As a first pass, just surround the evaluation with a try/except, as
you would in Python.
On Tue, Nov 17, 2009 at 6:08 AM, kcrisman kcris...@gmail.com wrote:
Would all these ideas for testing deal with the triangulation issue,
Bill? Your original post seems to imply this.
- kcrisman
I thought that, during triangulation, we could test for NaN values and
delete those faces.
William Cauchois wrote:
On Tue, Nov 17, 2009 at 6:08 AM, kcrisman kcris...@gmail.com
mailto:kcris...@gmail.com wrote:
Would all these ideas for testing deal with the triangulation issue,
Bill? Your original post seems to imply this.
- kcrisman
I thought that, during
relatively simple, but when you remove a point in a 3D plot you could
be affecting several faces. There is also the matter that evaluation
is separate from triangulation, so you have to find out how to
communicate the fact that a vertex doesn't exist between the two
stages (since
On Nov 10, 2009, at 12:34 PM, kcrisman wrote:
In 4.2.1.alpha0:
sage: f(x,y)=ln(x)
sage: P=plot3d(f,(x,0,1),(y,0,1))
sage: P
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement',
On Nov 16, 2009, at 7:23 PM, William Cauchois wrote:
On Nov 16, 10:59 am, Robert Bradshaw rober...@math.washington.edu
wrote:
As a first pass, just surround the evaluation with a try/except, as
you would in Python. Perhaps you could set the value in the except
clause to nan.
- Robert
I was looking into this issue this afternoon, and its more complicated
than it might appear at first. Removing a point in a 2D plot is
relatively simple, but when you remove a point in a 3D plot you could
be affecting several faces. There is also the matter that evaluation
is separate from