GNU/Linux下科学计算绘图工具
(→Gnuplot) |
|||
第12行: | 第12行: | ||
<gallery> | <gallery> | ||
− | 文件:Gnuplot-sinc.png | Sinc Function | + | 文件:Gnuplot-sinc.png | Sinc Function |
文件:Gnuplot-fence.png | Fence Plot | 文件:Gnuplot-fence.png | Fence Plot | ||
第34行: | 第34行: | ||
== Octave == | == Octave == | ||
+ | |||
+ | 兼容 MatLab 语法的科学计算工具,具有丰富的 C++ 接口供用户使用 | ||
+ | |||
+ | 其绘图功能使用用的是 gnuplot,因此其依赖 Gnuplot 包 | ||
+ | |||
+ | 官方站点: http://www.octave.org | ||
+ | |||
+ | Debian/Ubuntu 的官方源里都有,可以直接 apt-get install octave 安装之 | ||
+ | |||
+ | 安装完后,直接在终端下输入 octave 回车即进入 octave 环境 | ||
+ | |||
+ | |||
+ | [[文件:Octave-fft.png]] | ||
+ | |||
+ | |||
+ | <gallery> | ||
+ | 文件:Octave-sin.png | ||
+ | 文件:Octave-peaks.png | ||
+ | 文件:Octave-mesh.png | ||
+ | </gallery> | ||
+ | |||
+ | |||
+ | ;参考资料: | ||
+ | |||
+ | 可以参考 MatLab 的部分文档,octave 语法与 MatLab 兼容。 | ||
+ | |||
+ | 如signal processing 部分: http://www-ccs.ucsd.edu/matlab/toolbox/signal/reftable.html | ||
+ | |||
+ | Manual: http://www.gnu.org/software/octave/doc/interpreter/ | ||
+ | |||
+ | 安装 octave2.9-doc 包,在 /usr/share/doc/octave2.9-doc/ 下有 liboctave.pdf.gz 是为octave开发库文档。 | ||
+ | |||
+ | |||
2012年12月25日 (二) 01:16的版本
1 Gnuplot
Gnuplot是一个比较强大的绘图软件包,可以进行绝大多数的科学绘图
octave, maxima 都用它作为后台绘图引擎.
官方站点: http://www.gnuplot.info
Debian/Ubuntu 的官方源里都有,可以直接 apt-get install gnuplot gnuplot-doc 安装之
安装 gnuplot-doc 包后,在 /usr/share/doc/gnuplot-doc/examples/ 下有很多例子可以参考,有兴趣的可以看看
- 参考资料:
Learning gnuplot: http://www.gnuplot.info/help.html
Plot example: http://gnuplot.sourceforge.net/demo/
Document: http://www.gnuplot.info/documentation.html
2 Octave
兼容 MatLab 语法的科学计算工具,具有丰富的 C++ 接口供用户使用
其绘图功能使用用的是 gnuplot,因此其依赖 Gnuplot 包
官方站点: http://www.octave.org
Debian/Ubuntu 的官方源里都有,可以直接 apt-get install octave 安装之
安装完后,直接在终端下输入 octave 回车即进入 octave 环境
- 参考资料:
可以参考 MatLab 的部分文档,octave 语法与 MatLab 兼容。
如signal processing 部分: http://www-ccs.ucsd.edu/matlab/toolbox/signal/reftable.html
Manual: http://www.gnu.org/software/octave/doc/interpreter/
安装 octave2.9-doc 包,在 /usr/share/doc/octave2.9-doc/ 下有 liboctave.pdf.gz 是为octave开发库文档。