gnuplot
跳转到导航
跳转到搜索
示例
set xtics rotate
set xlabel "size in mega-bytes of file big-line.txt"
set ylabel "time in sec"
set grid
set title "time in sec of: vim -u NONE -c \":call readfile('big-line.txt')|q\""
set terminal png
plot 'time-readfile.txt' using ($1/1000000):2 with linespoints title 'time after patch'
$ gnuplot time-readfile.gnuplot < time-readfile.txt > time-readfile.png
点集
在同一图像上绘制来自于 a 、 b 两个文件的点集,以颜色区分:
plot "a" with linespoints linecolor 3, "b" with linespoints linecolor 5
参见
外部链接
- DevOps的三板斧 | 火丁笔记,内含使用 awk 和 gnuplot 绘制 HTTP 服务器每分钟访问量的代码
- 笨法算RPS | 火丁笔记
- 科学网—Gnuplot 中文教程 - 马欢的博文(PDF 文件)