gnuplot

来自百合仙子's Wiki
跳转到导航 跳转到搜索

示例

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

点集

在同一图像上绘制来自于 ab 两个文件的点集,以颜色区分:

plot "a" with linespoints linecolor 3, "b" with linespoints linecolor 5

参见

外部链接