WARNING: Plotting with an 'unknown' terminal. No output will be generated. Please select a terminal with 'set terminal'

前端 未结 4 1221
别跟我提以往
别跟我提以往 2021-02-05 21:31

i am following the great machine learning course given by Andrew Wu from Stanford. When I executed plot function in ex5 file, the octave cli command line reports the following w

4条回答
  •  感情败类
    2021-02-05 22:23

    I faced the same issue last night. The simplest solution I could find was to set terminal to qt from Octave.

    setenv('GNUTERM','qt')
    

    Now you can call plot as usual.

提交回复
热议问题