Plot doesn't work in Octave 4.0.0 (Windows 7 64-bit)

℡╲_俬逩灬. 提交于 2019-12-02 07:49:20

问题


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

  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)

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.

Code:

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

Please suggest if I can try something else.

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


回答1:


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

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



来源:https://stackoverflow.com/questions/37387277/plot-doesnt-work-in-octave-4-0-0-windows-7-64-bit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!