Menu

#4183 plotting error: "can't open file"

None
closed
nobody
plotting (137)
5
2023-10-06
2023-09-11
No

when executing wxplot2d(4*x^2-8*x+2,[x,-1,2],[y,-5,5]);
I get error: can't open file '/var/folders/nc/n7pvwk2n1h9fwgmsfkw5jwt40000gn/T/maxout_4758_8.png' (error 2: No such file or directory)

System info
wxWidgets: 3.1.2
Unicode Support: yes
Maxima version: 5.43.0 (x86_64-apple-darwin13.4.0)
Lisp: SBCL 1.5.3

1 Attachments

Related

Bugs: #4183

Discussion

  • Gunter Königsmann

    does plot3d (without the wx) work?

     
  • Tomio Arisaka

    Tomio Arisaka - 2023-09-12

    I guess your Maxima fails to search $PATH for gnuplot.
    So I think you should let Maxima know the path to gnuplot.
    For example:

    (%i1) system ("which gnuplot") $
    /opt/local/bin/gnuplot
    
    (%i2) gnuplot_command ;
    (%o2)                               gnuplot
    (%i3) gnuplot_command : "/opt/local/bin/gnuplot" ;
    (%o3)                       /opt/local/bin/gnuplot
    (%i4) plot2d (4*x^2-8*x+2, [x,-1,5]) ;
    (%o4)                                false
    
     
    • Frans van den Nobelen

      works now, thanks!

      Op di 12 sep 2023 om 09:47 schreef Tomio Arisaka tomio-arisaka@users.sourceforge.net:

      I guess your Maxima fails to search $PATH for gnuplot.
      So I think you should let Maxima know the path to gnuplot.
      For example:

      (%i1) system ("which gnuplot") $/opt/local/bin/gnuplot
      (%i2) gnuplot_command ;(%o2) gnuplot(%i3) gnuplot_command : "/opt/local/bin/gnuplot" ;(%o3) /opt/local/bin/gnuplot(%i4) plot2d (4x^2-8x+2, [x,-1,5]) ;(%o4) false


      [bugs:#4183] https://sourceforge.net/p/maxima/bugs/4183/ error: can't
      open file

      Status: open
      Group: None
      Created: Mon Sep 11, 2023 05:26 PM UTC by Frans van den Nobelen
      Last Updated: Mon Sep 11, 2023 07:55 PM UTC
      Owner: nobody
      Attachments:

      when executing "wxplot2d(4x^2-8x+2,[x,-1,2],[y,-5,5]);"
      I get error: can't open file
      '/var/folders/nc/n7pvwk2n1h9fwgmsfkw5jwt40000gn/T/maxout_4758_8.png' (error
      2: No such file or directory)

      System info
      wxWidgets: 3.1.2
      Unicode Support: yes
      Maxima version: 5.43.0 (x86_64-apple-darwin13.4.0)
      Lisp: SBCL 1.5.3


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/maxima/bugs/4183/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #4183

  • Robert Dodier

    Robert Dodier - 2023-10-06
    • status: open --> closed
     
  • Robert Dodier

    Robert Dodier - 2023-10-06

    Closing this bug as fixed since OP reports that it works now.

     

Log in to post a comment.