Windows 10下无法使用Octave 4.0.0图形工具包功能 [英] Cannot use Octave 4.0.0 graphics toolkit functions under Windows 10
问题描述
我在全新的Windows 10安装上使用Octave 4.0.0,并且与图形工具包相关的功能(例如plot()
或hist()
)根本无法正常工作. plot()
创建一个新窗口,该窗口立即在GUI中冻结,而在CLI中根本没有窗口(两种情况下八度崩溃).我确保将graphics_toolkit()
设置为"gnuplot"
而不是"fltk"
,但是我没有看到任何改进.有什么建议吗?
I'm using Octave 4.0.0 on a fresh Windows 10 installation and the graphics toolkit related functions (such as plot()
or hist()
) are simply not working. plot()
creates a new window that freezes immediately in the GUI and no windows at all in the CLI (Octave crashes in both cases). I made sure that graphics_toolkit()
was set to "gnuplot"
and not "fltk"
, but I did not see any improvment. Any suggestion?
推荐答案
首次使用plot
,imagesc
或其他使用绘图功能的工具时,八度会挂起一段时间(可能几分钟). .最初使用plot([1 2 3 4])
绘制小型数据集可能会更快.
The first time you use plot
, imagesc
, or something else that uses plotting functions it will cause Octave to hang for a while (potentially minutes). It may be quicker to plot a small dataset with plot([1 2 3 4])
initially.
在初始绘制之后,即使重新打开Octave或重新启动计算机,后续的绘制也应该很快.
After the initial plot, subsequent ones should be quick, even if you reopen Octave or reboot your computer.
使用Octave(4.0.0
-4.0.2
)始终会发生这种情况,在Windows 10上的其他版本中也可能发生这种情况.
This happens consistently using Octave is 4.0.0
-4.0.2
, and potentially in other versions on Windows 10.
这篇关于Windows 10下无法使用Octave 4.0.0图形工具包功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!