Yeh_Jianshi

导航

Octave安装和使用

1. Installer  Download

octave4.0

gnuplot 5.0.4

 

2. Installation

(1) Octave

 安装Octave时提示发现系统装有Win8,继续安装可能导致启动失败。选择继续安装。

 support页面

documentation

 how to install Octave Forge Packages

  • Start Octave and then open the build_packages.m file found in the src folder where Octave was installed.
  • Run the script build_packages.m to build and install the packages.

 Installation is a one-time procedure. After installation packages must still be loaded in order to use them with the pkg load PACKAGENAME command.

Other packages are available from Octave-Forge.

(2) gnuplot

是一个命令行驱动的可交互的绘图工具,可绘制2维和3维图像。

demos

References: 

http://wiki.octave.org/Octave_for_Microsoft_Windows#gnuplot

octave readme

=====================

问题:

>>> a = pi;

>>> disp(sprintf('9 decimals: %0.100f',a))

9 decimals: 3.1415926535897931159979634685441851615905761718750000000000000000000000000000000000000000000000000000

1. 似乎pi只正确显示了前十几位。

2. 使用hist绘图,绘图窗口弹出,空白,卡住。 google搜索

Plot window not responding

Always not responding/freeze when use plot with QtOctave

 无法正确调用plot,绘图窗口弹出,窗口空白,卡住,点击关闭窗口无反应。

解决:安装后初次绘图,程序需要生成所需字体,大约1-2分钟,看起来就像是卡住了。以后就流畅了。

posted on 2016-09-22 00:16  Yeh_Jianshi  阅读(874)  评论(0编辑  收藏  举报