いろいろ分析してたらグラフ書きたくなったので、gnuplotを入れようとした。
gnuplot のインストール
gnuplotでウインドウに描画しようと思うと、x11かaqua termが必要でした。
なので、既存のgnuplotは一旦削除
brew uninstall gnuplot
x11 と aquatermをインストール(cask利用)
brew cask install aquaterm brew casl install xquartz
gnuplotを再インストール
brew install gnuplot --with-aquaterm --with-x11
以上で準備は完了
実際にグラフを書いてみる
takuya@rena:~/Desktop$ gnuplot
G N U P L O T
Version 5.0 patchlevel 0 last modified 2015-01-01
Copyright (C) 1986-1993, 1998, 2004, 2007-2015
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'aqua'
gnuplot> set terminal x11
Terminal type set to 'x11'
Options are ' nopersist enhanced'
gnuplot> plot sin(x)
gnuplot>
aqua のほうが綺麗
