例:
$LABELS << EOD
0 0 "Text A"
1 1 "Text B"
EOD
set contours
set view map
unset key
g(x,y) = x**2 + y**2 * (1 - x)**3
set xrange [-1:4]; set yrange [-3:3]
set cntrparam levels incremental -20,10,20
set cntrlabel onecolor
set style textbox opaque
splot g(x,y) with lines nosurface, \
g(x,y) with labels font "Times,10" boxed, \
$LABELS using 1:2:(0):3 with labels nocontours
set view map
unset key
g(x,y) = x**2 + y**2 * (1 - x)**3
set xrange [-1:4]; set yrange [-3:3]
set cntrparam levels incremental -20,10,20
set cntrlabel onecolor
set style textbox opaque
splot g(x,y) with lines nosurface, \
g(x,y) with labels font "Times,10" boxed, \
$LABELS using 1:2:(0):3 with labels nocontours
竹野茂治@新潟工科大学