Menu

#1595 plot2d can't plot a sinc function

closed
nobody
5
2022-03-07
2009-02-18
Anonymous
No

When I enter that command,
wxplot2d([sin(x)/x], [x,-20,20]);

I obtain that:
Universal error handler called recursively (:ERROR NIL
CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
""
"Couldn't protect")
Universal error handler called recursively (:ERROR NIL
CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
"" "Couldn't protect")
Maxima encountered a Lisp error:
Error in CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER [or a callee]: Caught fatal error [memory may be damaged]
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

If I do it whitout wxmaxima:
(%i4) plot2d([sin(x)/x],[x,-20,20]);
Universal error handler called recursively (:ERROR NIL
CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
""
"Couldn't protect")
Universal error handler called recursively (:ERROR NIL
CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER
"" "Couldn't protect")
Maxima encountered a Lisp error:

Error in CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER [or a callee]: Caught fatal error [memory may be damaged]

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

Discussion

  • Nobody/Anonymous

    Sorry, I forgot indicate my maxima info:
    Maxima version: 5.13.0
    Maxima build date: 3:56 12/15/2007
    host type: x86_64-unknown-linux-gnu
    lisp-implementation-type: GNU Common Lisp (GCL)
    lisp-implementation-version: GCL 2.6.8

     
  • Barton Willis

    Barton Willis - 2009-02-21

    we've fixed many bugs since 5.13.0; try installing Maxima 5.17.0. The plot works with

    (%i1) build_info();
    Maxima version: 5.17.0
    Maxima build date: 19:8 12/4/2008
    host type: i686-pc-mingw32
    lisp-implementation-type: GNU Common Lisp (GCL)
    lisp-implementation-version: GCL 2.6.8
    (%o1)

     
  • Nobody/Anonymous

    Ok, I've installed 5.17.1 and it works fine. Thank you

     
  • Barton Willis

    Barton Willis - 2009-03-03
    • status: open --> closed
     
  • Barton Willis

    Barton Willis - 2009-03-03

    The reported bug is not present in the current cvs version of
    Maxima.

    Thank you for your report. If you see this bug in a later version
    of Maxima, please submit a new bug report.

     
  • Robert Dodier

    Robert Dodier - 2022-03-07
    • Labels: Lisp Core - Plotting --> Lisp Core - Plotting, plotting
     

Log in to post a comment.

MongoDB Logo MongoDB