多图模式下绘图
set multiplot [layout a,b]
set ***
plot ***
unset multiplot
同一个图上绘制多个曲线
共用一个“plot”,逗号隔开。
plot ***,***
注释的位置
left right top bottom (上下左右)
outside(图形框右外侧) below(图形框下外侧)
eg.
set key right below #标注在图形框内的右下部分
set key left bottom #标注在图形框外的左下部分
输出终端
set terminal png | table | windows | gif {small | medium | large} {monochrome | gray | color}
set output **.png
plot *** (replot)
交互式方式gnuplot>
批处理方式 gnuplot file1
命令
plot “datafile” {using xcol:ycol} {title “***”} {with <style>} #title为曲线的名字 style:lines | points | linespoints | impulses | dots | .....
set xlabel “**”
set title “***” #图像的名字
图像大小