Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
GNU Octave科学计算
Apps Section
948
views ·
0
replies ·
To
floor
Go
xliang9550
deepin
2015-04-17 02:05
Author
鉴于部分MATLAB工具箱的核心功能是以mex文件提供的,相当于封闭源代码,本人决定尝试开源实现。
今天遇到了GNU Octave默认的fltk图形工具包的兼容问题,尝试改用gnuplot作图,并且最终比较完美地解决。
从安装说起:
sudo apt-get install gnuplot-x11
sudo apt-get install octave qtoctave
进入GNU Octave程序之后在命令窗口输入命令
graphics_toolkit ('gnuplot')
切换到gnuplot-x11。注意在安装gnuplot的时候务必加上-x11。GNU Octave在调用绘图的时候会尝试在gnuplot中执行set term x11,而在gnuplot中不可用,需要gnuplot-x11。
如果能够开源实现MATLAB工具箱的少数功能,我可以考虑把程序卖给BOSS(仍然开源并且严格遵循GPL)。
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
the Network section no longer appears
Error during system installation
Deepin IDE?
Music player with sample rate and bit depth
Popular Events
More
今天遇到了GNU Octave默认的fltk图形工具包的兼容问题,尝试改用gnuplot作图,并且最终比较完美地解决。
从安装说起:
sudo apt-get install gnuplot-x11
sudo apt-get install octave qtoctave
进入GNU Octave程序之后在命令窗口输入命令
graphics_toolkit ('gnuplot')
切换到gnuplot-x11。注意在安装gnuplot的时候务必加上-x11。GNU Octave在调用绘图的时候会尝试在gnuplot中执行set term x11,而在gnuplot中不可用,需要gnuplot-x11。
如果能够开源实现MATLAB工具箱的少数功能,我可以考虑把程序卖给BOSS(仍然开源并且严格遵循GPL)。