Package: drscheme
Version: 1:352-5

The code

(require (lib "plot.ss" "plot"))
(plot (line (lambda (x) (expt 2 x))) (x-max 30) (y-max 1000))

draws a graph which looks like the intended exponential function from -5 to 11 on the X axis, but later goes down apparently linearly at 25 to 28, which is obviously not what an exponential graph should look like.

The lambda seems to return correct values, so there must be an error in the plot library.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to