照貓畫虎學gnuplot之折線圖html
gnuplot 入門教程 1.net
gnuplot安裝,及error:terminal type set to 'unknown'的解決code
sudo apt-get install gnuplot sudo apt-get install gnuplot-x11
若是沒有第二句,會出現Terminal type set to 'unknown'
htm
plot "data.txt" # 以data.txt的第一列爲x軸,第二列爲y軸 set xlabel "[x_name]" # 設置x軸的單位 set ylabel "[y_name]" # 設置y軸的單位 plot "data.txt" with lines # 生成折線圖 plot "data1.txt" with lines, "data2.txt" with lines # 生成兩條折線的圖
plot "vSDN_C" with lines linetype 3 linecolor 2 linewidth 1 pointtype 7title "vSDN C", "vSDN_C-in-parallel-experiment" with lines linetype 0 linecolor 1 linewidth 2 pointtype 7 title "vSDN C in parallel experiment"
http://blog.sciencenet.cn/blog-373392-497973.htmlblog
2017/3/7教程