plot2d(1/x,[x,0,1],[y,0,5]); => division by 0



On Thursday 17 April 2003 19:05, Raymond Toy wrote:
> plot2d(1/(x-0.5),[x,0,1]) should demonstrate this, but the adaptive
> plotting is taking forever to compute the points.  It's slowly moving
> towards 0.5.
>
> I think we really need a way to turn off adaptive plotting.

Oh yes, this seems to illustrate another problem I had recently: plot2d 
seems to take forever. I just tried your example and let it run for some 
time. On my machine (Celeron 550, 192 MB RAM, LINUX) it aborts with the 
following error message:

    Error: The storage for LONG-FLOAT is exhausted.
           Currently, 24667 pages are allocated.
           Use ALLOCATE to expand the space.
    Fast links are on: do (si::use-fast-links nil) for debugging
    Error signalled by CATCH.
    Broken at MACSYMA-TOP-LEVEL.  Type :H for Help.
    MAXIMA>>

What exactly is adaptive plotting? I couldn't find anything about it in the 
Info pages.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de