taosdemo-csv2png.gnuplot 561 字节
Newer Older
S
Shuduo Sang 已提交
1 2 3 4
#!/user/bin/gnuplot
reset
set terminal png

S
Shuduo Sang 已提交
5
set title filename font ",20"
S
Shuduo Sang 已提交
6 7 8 9 10 11 12 13 14 15 16

set ylabel "Time in Seconds"

set xdata time
set timefmt "%Y%m%d"
set format x "%Y-%m-%d"
set xlabel "Date"

set style data linespoints

set terminal pngcairo size 1024,768 enhanced font 'Segoe UI, 10'
S
Shuduo Sang 已提交
17
set output filename . '.png'
S
Shuduo Sang 已提交
18 19 20 21 22 23
set datafile separator ','

set key reverse Left outside
set grid


S
Shuduo Sang 已提交
24 25 26
plot filename . '.csv' 	using 1:2  title "Create 10,000 Tables", \
	""			using 1:3 title "Delete 10,000 Tables", \
	""			using 1:4 title "Create 10,000 Tables and Insert 100,000 records"