GNUPLOTテンプレート


確認環境は、Fedora core1のX上でのGNUPLOT 3.8です。コマンド

>gnuplot < fig1.gp

でepsはき出しします。

ベーシック

# fig1.gp

# 20051107

set xrange [0.05:0.245]
#set yrange [0:1]

set key left
set xlabel "T[GeV]"
set ylabel "P/B"

#lines
a=0.161
b=0.2225
c=-1.0
d=0.05
e=-1.0
f=2.25
set linestyle 1 lt 4 lw 5
set arrow from a,c to a,d nohead ls 1
set arrow from b,e to b,f nohead ls 1

set linestyle 5 lt 1 lw 5
set linestyle 6 lt 2 lw 5
set linestyle 7 lt 5 lw 5

####################################################

#set term post default "Times-Roman" 25
set term post enhanced "Times-Roman" 25
set output "fig1.ps"

plot 'data1.dat' title "data1" with lines linestyle 5,\
'data2.dat' title "data2" with lines linestyle 6,\
'data3.dat' title "data3" with lines linestyle 7