Octave does not plot

前端 未结 8 459
灰色年华
灰色年华 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:38

    To install it without aquaterm:

    brew cask install xquartz
    brew install gnuplot --with-x
    brew install octave
    
    vim ~/.octaverc
    setenv("GNUTERM", "X11")
    graphics_toolkit("gnuplot");
    

提交回复
热议问题