内容へ移動
fl8 Wiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
Dokuwiki.fl8.jp
»
01_linux
»
02_www
»
21 グラフ描写(gnuplot)
トレース:
01_linux:02_www:21_gnuplot
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== 21 グラフ描写(gnuplot) ====== ===== インストール ===== [[http://www.gnuplot.info/]] === yum === <code> # yum install gnuplot </code> === ソースから === <code> # tar zxvf gnuplot-5.0.6.tar.gz # cd gnuplot-5.0.6 # ./configure --prefix=/usr/local --with-gd=/usr/lib64/libgd.so # make && make install </code> ==== 使い方 ==== これで、image.pngというファイルができる。 <code> # gnuplot gnuplot> set terminal png gnuplot> set out 'image.png' gnuplot> set title 'てすとイメージ' gnuplot> plot sin(x) w line lc rgb 'orange' gnuplot> quit </code> {{:01_linux:02_www:image.png?400|}} ==== エラー ==== Could not find/open font when opening font "arial", using internal non-scalable font フォントが無いですよ。というエラー 下記を環境変数を設定してあげるとフォントが綺麗になる。 export GDFONTPATH=/usr/share/fonts/vlgothic/ export GNUPLOT_DEFAULT_GDFONT=VL-Gothic-Regular {{tag>gnuplot}}
01_linux/02_www/21_gnuplot.txt
· 最終更新: 2017/06/22 08:32 by
matsui
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ