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分钟,看起来就像是卡住了。以后就流畅了。

转载于:https://www.cnblogs.com/yehjianshi/p/5894395.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值