Octave does not plot

前端 未结 8 417
灰色年华
灰色年华 2020-12-22 18:07

When I try to plot a graph on GNU Octave, and try to use plot, it gives me the following output

set terminal aqua enhanced title \"Figure 1\" size 560 420           


        
相关标签:
8条回答
  • 2020-12-22 18:44

    Download and install Aquaterm.

    sudo wget https://gist.githubusercontent.com/tuvistavie/8466870/raw/9064b4b3dfb3644950b6f5745056f54f8d6e56c6/gnuplot.rb -O /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnuplot.rb
    
    brew uninstall gnuplot
    brew update && brew upgrade
    brew tap homebrew/science
    brew info gnuplot
    
    brew reinstall gnuplot --aquaterm --qt --test
    

    worked for me ref

    0 讨论(0)
  • 2020-12-22 18:54

    setenv("GNUTERM","qt") in your octave command prompt, it should solve the problem.

    0 讨论(0)
提交回复
热议问题