绘图窗口没有响应 [英] Plot window not responding

查看:35
本文介绍了绘图窗口没有响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 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重建 -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.

这篇关于绘图窗口没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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