How to change toolkit in Octave?

耗尽温柔 提交于 2019-12-05 16:41:38

First, the direct answer to your question is to append any command you want executed on startup to the end of the .octaverc file. So, to set a particular graphics toolkit you would add the line:

graphics_toolkit("gnuplot")

Or

graphics_toolkit("qt")

Or

graphics_toolkit("fltk")

For whichever toolkit you want.

Now, as pointed out by @Andy, if you are using Windows, it may be that you are misinterpreting a long delay for a crash. A still not entirely resolved windows bug concerns the fact that on the first plot Windows might need to create a font cache file. This can take a long time. Once this is complete, most subsequent plots will be much faster. Some info can be found about it at the following bug report page: https://savannah.gnu.org/bugs/?45458

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