LoginSignup
1
1

More than 5 years have passed since last update.

Mac OSX Octaveでhist()でコケた時の解決方法

Last updated at Posted at 2016-01-25

$ octave
で起動します。

octave:1> w = 10 + sqrt(10)*(randn(1,10000));
octave:2> hist(w)

hist(w)とした時にWARNINGが出たりしてプロットできませんでした。

ちなみにOctaveをMacに入れる際は、
$ brew tap homebrew/science
$ brew install octave
で入ると思います。

で解決は、
http://stackoverflow.com/questions/27172680/dyld-library-not-loaded-usr-local-lib-liblua-5-1-5-dylib
を参考に、
$ brew install lua51
実行しインストールしただけです。

スクリーンショット 2016-01-26 0.04.41.png

自分の場合は lua51をインストールしただけでプロットできました。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1