绘图窗口无响应

问题描述:

我正在使用Windows 7 64位.每次使用绘图功能时,绘图窗口都会成功显示并绘制,但是此后它将停止响应并必须将其关闭.

I'm using Windows 7 64 bit. Each time, I'm using plot function, plot windows will shows and draws successfully, but after that it stops responding and must shut down it.

例如:

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

奇怪的是,当绘图窗口冻结并且我必须关闭八度窗口时,它们也将无响应.如果我不使用绘图功能,则不会发生这种情况.

Strangely, when plot windows freeze and I must close octave windows, they will be unresponsive too. This will not happen if I don't use plot function.

我不知道为什么.是否因为我使用的是64位版本?请告诉我如何解决此问题.

I don't know why. Does it because I'm using 64 bit version? Please tell me how to fix this.

哦.我的朋友给我看了这个命令,它很好用:

Oh. My friend shows me this command and it works fine :

pkg rebuild -noauto oct2mat

该命令将重新安装软件包,但将其标记为默认在启动时不加载.现在,此行为已更改,默认情况下不会加载新版本的Forge软件包.

The command reinstalls the package but marks it to not load by default at startup. This behavior has now been changed and new releases of Forge packages will NOT load by default.

问题在于,永远不要加载oct2mat软件包.它遮盖了Octave核心的几个功能,因此开始表现怪异.除非您真的需要此软件包,否则最好将其删除.

The problem is that the package oct2mat should never be loaded. It shadows several functions of Octave core so it starts acting weird. Unless you really have a need for this package you better off just removing it.

oct2mat的目的是弥补Matlab中缺少的功能,并使为Octave编写的代码在Matlab中运行.如果不需要oct2mat,请将其删除.没有人需要安装所有软件包,实际上它可以使您的Octave安装变糟例如oct2mat.

The purpose of oct2mat is to make up for the lack of missing functions in Matlab and make code written for Octave run in Matlab. If you don't need oct2mat, remove it. No one needs all packages installed, and it can actually make your Octave install worse such as in the case of oct2mat.