Octave plotting error

前端 未结 8 1714
情歌与酒
情歌与酒 2020-12-14 22:11

I am new to octave, I just tried my first plotting with Octave 3.4.0 when I get the following error. Any help will be much appreciated. The gnuplot version is 4.6

         


        
8条回答
  •  渐次进展
    2020-12-14 23:16

    COMPLETE SOLUTION:

    1- Install x11:

    brew cask install xquartz
    

    Or, install from here.

    2- Reinstall gnuplot:

    brew uninstall gnuplot && brew install gnuplot --with-x11
    

    3- Put these lines in ~/.octaverc

    setenv("GNUTERM", "x11")
    gnuplot_binary("/usr/local/bin/gnuplot")
    

    4- Restart your mac

提交回复
热议问题