set term png {small | medium | large} {monochrome | gray | color}
后面两项分别代表图中字体的大小和图像的颜色(黑白,灰度,彩色,默认彩色可以用xRRGGBB的RGB值来表示颜色)
其实,可以另存为矢量图像,这样看起来会更清晰,gnuplot支持emf格式的矢量图像:
set term emf
set output "1-2.emf"
此时代表文字大小的 {small | medium | large} 不可用,默认仍然是彩色图像,另外,set size 不可用(可用执行,但是效果不会改变图像大小,只会改变有效图像在整个图像中的面积,如 set size 0.5,0.5,那么,仅左下四分之一处有图像,其余空白)
BTW:可以使用set grid 20 来设置显示网格,其中20代表使用的线型,与plot中使用的线型使用一样的数值表示(个人感觉20号线型做网格还不错:))
附:gnuplot支持的图像类型列表:
aed512 AED 512 Terminal
aed767 AED 767 Terminal
aifm Adobe Illustrator 3.0 Format
bitgraph BBN Bitgraph Terminal
cgm Computer Graphics Metafile
corel EPS format for CorelDRAW