绘图在Octave 4.0.0(Windows 7 64位)中不起作用 [英] Plot doesn't work in Octave 4.0.0 (Windows 7 64-bit)

查看:110
本文介绍了绘图在Octave 4.0.0(Windows 7 64位)中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图让Plot在Octave Windows 7(64位)上工作.我尝试过的事情:

I'm trying to get Plot working for Octave Windows 7 (64 bit). Things I have tried:

  1. 试图将graphics_toolkit更改为gnuplot或fltk.请参见绘图"窗口无响应
  2. 我尝试卸载并重新安装Octave.
  3. 我试图在Octave目录中安装最新版本的gnuplot.
  4. pkg rebuild -noauto oct2mat(在八度重新启动之前或之后没有帮助)
  1. Tried changing the graphics_toolkit to gnuplot or fltk. See Plot window not responding
  2. I have tried uninstalling and re-installing Octave.
  3. I have tried to install the latest version of gnuplot in the Octave Directory.
  4. pkg rebuild -noauto oct2mat (didn't help before or after octave restart)

光标移动到下一行(没有">>",就像在等待命令运行一样),但是图形窗口根本没有显示,我必须按Ctr-C几次才能强制八度退出.

The cursor moves to the next line (without ">>", as if waiting for the command to run), but the figure window doesn't show at all, I have to press Ctr-C several times to force Octave to quit.

代码:

x = linspace(0,1,10)
y = x.^2
plot(x,y);

请提出是否可以尝试其他建议.

Please suggest if I can try something else.

八度版本:4.0.0,可在Windows 7 64位专业版便携式计算机上运行.

Octave version : 4.0.0, running on a laptop, Windows 7 64-bit Professional.

推荐答案

我将注释重写为答案. 在Windoze上的GNU Octave中首次进行绘制时,存在长时间的延迟是一个已知的问题: http://savannah .gnu.org/bugs/?45458

I rewrite the comment as answer. A long delay when plotting for the first time in GNU Octave on Windoze is a known problem: http://savannah.gnu.org/bugs/?45458

其原因是fontconfig缓存必须构建一次.之后,绘图应照常进行.

The reason for this is that the fontconfig cache has to be build once. After that plotting should be fast as usual.

这篇关于绘图在Octave 4.0.0(Windows 7 64位)中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆