2011-02-13 wcdj
将线条颜色从彩色变成黑色的方法,添加参数 lt -1。
常用画emf矢量图的脚本代码如下:
set term emf font "Times New Roman,宋体,20"
set output "alive.emf"
set xlabel "Time(s)"
set ylabel "Number of nodes alive"
set key left bottom box
set grid 20
set sample 1000
plot "leach 10 alive.plot" title "LEACH " w lp pt 8 ps 2 lt -1, "7 alive.plot" title "LEACH-C " w lp pt 5 ps 2 lt -1, "10 alive.plot" title "SRDC " w lp pt 13 ps 2 lt -1
set output