スクリプトとしてファイルに保存して、
実行可 (chmod 755 foo.gp) にしておくと便利です。
こんなかんじ:
#!/usr/bin/env gnuplot
set key bottom left
plot [0:30000] [-1.1:1.1]\
'< bzip2 -cd T2.17.dat.bz2' title 'T=2.17' with lines,\
'< bzip2 -cd T2.20.dat.bz2' title 'T=2.20' with lines,\
'< bzip2 -cd T2.23.dat.bz2' title 'T=2.23' with lines,\
'< bzip2 -cd T2.26.dat.bz2' title 'T=2.26' with lines,\
'< bzip2 -cd T2.29.dat.bz2' title 'T=2.29' with lines,\
'< bzip2 -cd T2.32.dat.bz2' title 'T=2.32' with lines,\
'< bzip2 -cd T2.40.dat.bz2' title 'T=2.40' with lines,\
'< bzip2 -cd T2.50.dat.bz2' title 'T=2.50' with lines,\
0
pause -1 "Push [Enter] to exit."
set terminal postscript portrait enhanced color solid 20
set output "relax.ps"
replot
gnuplotスクリプト (スコア:1)
実行可 (chmod 755 foo.gp) にしておくと便利です。
こんなかんじ:
#!/usr/bin/env gnuplot
set key bottom left
plot [0:30000] [-1.1:1.1]\
'< bzip2 -cd T2.17.dat.bz2' title 'T=2.17' with lines,\
'< bzip2 -cd T2.20.dat.bz2' title 'T=2.20' with lines,\
'< bzip2 -cd T2.23.dat.bz2' title 'T=2.23' with lines,\
'< bzip2 -cd T2.26.dat.bz2' title 'T=2.26' with lines,\
'< bzip2 -cd T2.29.dat.bz2' title 'T=2.29' with lines,\
'< bzip2 -cd T2.32.dat.bz2' title 'T=2.32' with lines,\
'< bzip2 -cd T2.40.dat.bz2' title 'T=2.40' with lines,\
'< bzip2 -cd T2.50.dat.bz2' title 'T=2.50' with lines,\
0
pause -1 "Push [Enter] to exit."
set terminal postscript portrait enhanced color solid 20
set output "relax.ps"
replot
love && peace && free_software
t-nissie