Gnuplot不';从倍频程开始绘制t图

Gnuplot不';从倍频程开始绘制t图,gnuplot,octave,Gnuplot,Octave,我正在运行Kubuntu Saucy(13.10)存储库中的默认Gnuplot和octave,当我尝试从octave绘图时,我没有绘图,只有Gnuplot样板,然后我可以输入Gnuplot命令,或者使用control-D。这是我得到的输出: naught101@naught101-chronos:~$ octave GNU Octave, version 3.6.4 Copyright (C) 2013 John W. Eaton and others. This is free softwar

我正在运行Kubuntu Saucy(13.10)存储库中的默认Gnuplot和octave,当我尝试从octave绘图时,我没有绘图,只有Gnuplot样板,然后我可以输入Gnuplot命令,或者使用control-D。这是我得到的输出:

naught101@naught101-chronos:~$ octave
GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave:1> plot([1,2,3])
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.

        G N U P L O T
        Version 4.6 patchlevel 3    last modified 2013-04-12 
        Build System: Linux x86_64

        Copyright (C) 1986-1993, 1998, 2004, 2007-2013
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'wxt'
没有绘图,也没有错误消息,我可以输入gnuplot命令(例如,
plot sin(x)/x
正确显示绘图)。如果我按Ctrl-D键,我会得到以下结果:

error: compare_versions: version numbers must be a single row
error: called from:
error:   /usr/share/octave/3.6.4/m/miscellaneous/compare_versions.m at line 85, column 5
error:   /usr/share/octave/3.6.4/m/plot/private/__gnuplot_has_feature__.m at line 50, column 23
error:   /usr/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line 200, column 11
error:   /usr/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line 84, column 16
octave:2> 
我试过了

sudo-aptitude-purge-liboctave1倍频程-倍频程-公共倍频程-ga倍频程图gnuplot gnuplot qt


重新安装也没用

我在windows上也有同样的问题。 在
compare_versions.m
中,我查看了v1和v2,发现v1是空的。 v1实际上是由
\uu gnuplot\u.m
中的命令
\uu gnuplot\u version()
生成的。在位于
\uu gnuplot\u version.m
的函数
\uuu gnuplot\u version\uu()
中,获取gnuplot版本的命令行是:

[status, output] = system (sprintf ("\"%s\" --version", gnuplot_binary ()));
在windows上,它应该是:

[status, output] = system (sprintf ("\"%s\" show version", gnuplot_binary ()));
看起来好多了。
我不想更改octave的源代码,但在这种情况下,它似乎是唯一的解决方案。

我不知道它是否能帮助您,但octave的较新版本允许访问OpenGL。我有很多问题要让gnuplot使用八度音阶。如果您在倍频程控制台中调用:graphics_toolkit(“fltk”);Octave将使用FLTK/OpenGL。。。再也没有Gnuplot的prb了…@PierrOz:如果我在kubuntu上那样做,当我试图策划时,我会得到一个SEGFULT。也许我还需要安装其他软件包才能使其正常工作?很抱歉,回答得太晚了。我不知道其他的包裹。对我来说,它在MacOSX10.7上运行良好。当我在谷歌上搜索这个问题时,看起来你不是唯一一个面临这个问题的人,但我还没有看到任何解决办法。是的,我是个白痴。我的路径中有一个旧的自编gnuplot二进制文件。。。移除它,一切都很好。感谢您尝试@PierrOz.:(