1, gnuplot的各种参摄设置
2, gnuplot能画那些图
3, gnuplot使用的命令
4, gnuplot的输出格式
一个例子:
文件:data
2.2 1.6
3.5 3.4
5.2 4.3
7.1 5.7
8.6 6.8
set terminal gif size 800, 800
set output "data.gif"
set title "voq"
set xlabel "time"
set ylabel "value"
set grid
plot "data" title 'voq_len' with boxes fs solid
exit
gnuplot boxplot.plot
输出plot好的结果
参考:
http://wenku.baidu.com/link?url=JhypIq5_BILvHvt6jIfricArSB1cso1n5dDMJl2q2oML2oFhocY0kgV5fX6ViWuUtN7cSM6aWMzeGEtsgFinOIyiqLI9kPYMo80vr_RaJEm
http://wenku.baidu.com/link?url=6uPfqNdNj6DXgOnDNvh01ZmUYhpswMR0xhVFRf64E4NxcrpYVqiA32HU8DJp2nSDgYm8uOdPLJjjRrr6dUoigKk1iZwMIHlyOHfFmlY8EbK
程序员的绘图利器 — Gnuplot http://blog.youkuaiyun.com/zhangskd/article/details/9032769
gnuplot简单数据绘图: http://blog.youkuaiyun.com/ksearch/article/details/23282397
gnuplot 让您的数据可视化 http://www.ibm.com/developerworks/cn/linux/l-gnuplot/
一张图画多个小图的例子
set xrange [-pi:pi] # Uncomment the following to line up the axes # set lmargin 6 # Gnuplot recommends setting the size and origin before going to # multiplot mode # This sets up bounding boxes and may be required on some terminals set size 1,1 set origin 0,0 # Done interactively, this takes gnuplot into multiplot mode # and brings up a new prompt ("multiplot >" instead of "gnuplot >") set multiplot # plot the first graph so that it takes a quarter of the screen set size 0.5,0.5 set origin 0,0.5 plot sin(x) # plot the second graph so that it takes a quarter of the screen set size 0.5,0.5 set origin 0,0 plot 1/sin(x) # plot the third graph so that it takes a quarter of the screen set size 0.5,0.5 set origin 0.5,0.5 plot cos(x) # plot the fourth graph so that it takes a quarter of the screen set size 0.5,0.5 set origin 0.5,0 plot 1/cos(x) # On some terminals, nothing gets plotted until this command is issued unset multiplot # remove all customization reset