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?
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.
After the initial plot, subsequent ones should be quick, even if you reopen Octave or reboot your computer.
This happens consistently using Octave is 4.0.0
-4.0.2
, and potentially in other versions on Windows 10.
Your PC needs to be installed gnuplot separately from SourceForge as Octave gets some errors while installing itself in W8/10.
Here is the link attached. https://sourceforge.net/projects/gnuplot/?source=directory
You don't need to change any installation files.
This should work
I have 4.2.0 running on Windows 7. The first time plot takes about a couple of minutes and its faster from then on. The toolkit is "qt".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With