gnuplotの使いかた
#gnuplot
- 1つ目のファイルの1列目を横軸,2列目を縦軸にとる
2つ目のファイルの 〃
> plot "tfidfdata.txt" using 1:2 with point, "useropinion.txt" using 1:2 with impulse
プロットスタイル
lines
points
dots
errorbars
linespoints
impulse
が指定できる
tgifに出力
gnuplot > set terminal tgif
gnuplot > set output "plotname.obj"
gnuplot > plot ・・・・・・
gnuplot > set terminal x11
gnuplot > set output
postscriptプリンタに出力
gnuplot > set terminal postscript
gnuplot > set output "|lpr"
gnuplot > plot ・・・・・・
gnuplot > set terminal x11
gnuplot > set output
過去の履歴
アンケートの結果 useropinion.txt
アンケートの結果/100 useropinion2.txt
tfidf値=プログラム中で補正をかける
gnuplot> plot "tfidfdata.txt" using 1:2 with point, "tfidfdata.txt" using 1:3 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with point, "useropinion.txt" using 1:2 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with point, "useropinion.txt" using 1:2 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with lines, "useropinion.txt" using 1:2 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with lines, "useropinion.txt" using 1:2 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with lines, "useropinion
2.txt" using 1:2 with impulse
gnuplot> plot "tfidfdata.txt" using 1:2 with lines, "useropinion2.txt" using 1:2 with lines
gnuplot> plot "tfidfdata.txt" using 1:2 with lines, "useropinion2.txt" using 1:2 with lines
最終更新:2007年06月14日 22:18