gnuplot设置字体及大小

set term png font 'times.ttf,14'
set fontpath '/home/peter/.fonts'
set output 'vel-cost.eps'
set grid
set xtics font 'times.ttf,14'
set ytics font 'times.ttf,14'
set xlabel '速度(m/s)' font 'simsun.ttc,14'
set ylabel '路由开销' font 'simsun.ttc,14'
set title font 'times.ttf,14' 
plot 'AODV-vel-cost.txt' title 'AODV-vel-cost' w lp lw 2 pt 5 ps 1, \
      'DSR-vel-cost.txt' title 'DSR-vel-cost' w lp lw 2 pt 7 ps 1 

posted @ 2018-03-01 11:29  喝姜水涂风油精  阅读(1929)  评论(0编辑  收藏  举报