Gnuplot 倍频程:警告:opengl_渲染器:在init_gl_上下文中发生错误1286

Gnuplot 倍频程:警告:opengl_渲染器:在init_gl_上下文中发生错误1286,gnuplot,octave,Gnuplot,Octave,每次尝试以倍频程打印时,我都会收到以下错误: warning: opengl_renderer: Error 1286 occurred in init_gl_context warning: called from __line__ at line 128 column 1 line at line 56 column 8 __plt__>__plt2vv__ at line 502 column 10 __plt__>__plt2__ at lin

每次尝试以倍频程打印时,我都会收到以下错误:

warning: opengl_renderer: Error 1286 occurred in init_gl_context
warning: called from
    __line__ at line 128 column 1
    line at line 56 column 8
    __plt__>__plt2vv__ at line 502 column 10
    __plt__>__plt2__ at line 248 column 14
    __plt__>__plt1__ at line 207 column 10
    __plt__ at line 119 column 17
    plot at line 223 column 10
warning: opengl_renderer: Error 1286 occurred drawing 'line' object
warning: called from
    __plt__ at line 120 column 34
    plot at line 223 column 10

我尝试了所有不同的论坛,并就如何消除这些警告提出了建议,但它们不断出现。有什么建议吗

什么操作系统和倍频程版本?由于这是一个GL错误,我假设您使用的不是gnuplot,而是像qt或fltk这样的OpenGL工具包。解决方法可能是切换到graphics_toolkit gnuplot,或者修复您的GPU驱动器。我在macOS Sierra和Octave 4.2.1上遇到了相同的错误,使用
brew install Octave--build from source
从源代码构建。给我这个错误的命令是
imshow('./path/to/image.jpg')@Andy你能用你的解决方法来回答吗?这里打开了一个问题:添加
graphics_工具包(“gnuplot”)
~/.octaverc
似乎是一种解决方法