[racket] Plot woes

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue May 22 09:33:44 EDT 2012

On May 22, 2012, at 8:05 AM, Neil Toronto wrote:

> I've thought of such things before. Unfortunately, plot doesn't know where any singularities are, so it can't specifically sample the function at those points. I could probably allow the user to tell plot where they are, but I can't think of a good API for it. I'd want something general enough to handle 1D, 2D and 3D functions, which allows the user to specify countably many missing values, and direction of (dis)continuity.

Isn't this where a well-specified exception interface could help? It won't be fast but at least you can specify singularities as exceptions. 

-- Matthias

Posted on the users mailing list.