GnuplotをCLIで使いたい(In Mac)
GnuplotをCLIで使いたい際、X11
などは正直いらないです。(GUI嫌なので。)
それにX11はmacには標準ではないのでなるべく入れたくない(しかも更新が結構前で止まっておる)...
しかし、調べると大抵、X11
かAquaTerm
を要求されます:
下のAquaTermがインストールされていないことが原因なので下の通りにインストールしましょう.
http://mashiroyuya.hatenablog.com/entry/installgnuplotAquatermのインストールを最初に行わなければならないため、以下のサイトでインストールしてください。
http://infoaisaka.hatenablog.com/entry/gnuplotinstallgnuplotを正常にインストールするためには「AquaTerm」が必要になります。
https://prog-masaki.com/install-gnuplot/
こいつら入れないとgnuplotは使えない...というわけじゃないです!!!
X11とか入れなくてもgnuplotは使えます!!
結論: set terminal
をdumb
に設定する
set terminal
で、描画する端末を選べるようです。
macでbrew install gunplot
としてインストールした場合、
以下のようなエラーが出ることがあると思います。
$ gnuplot
gnuplot>
RNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.
CLIで表示したい場合、以下のようにすれば良いです。
$ gnuplot
gnuplot> set terminal dumb
Author And Source
この問題について(GnuplotをCLIで使いたい(In Mac)), 我々は、より多くの情報をここで見つけました https://qiita.com/Cj-bc/items/b578e89439398c53f246著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .