如果你想要另一个工具而不是gnuplot,那么你错误地使用它.我同意,默认颜色和设置看起来不那么漂亮,但您可以在定义文件中轻松调整它〜/ .gnuplot
set macros
png="set terminal png size 1800,1800 crop enhanced font \"/usr/share/fonts/truetype/times.ttf,30\" dashlength 2; set termoption linewidth 3"
eps="set terminal postscript fontfile \"/usr/share/fonts/truetype/times.ttf\"; set termoption linewidth 3;
set style line 1 linecolor rgb '#de181f' linetype 1 # Red
set style line 2 linecolor rgb '#0060ae' linetype 1 # Blue
set style line 3 linecolor rgb '#228C22' linetype 1 # Forest green
set style line 4 linecolor rgb '#18ded7' linetype 1 # opposite Red
set style line 5 linecolor rgb '#ae4e00' linetype 1 # opposite Blue
set style line 6 linecolor rgb '#8c228c' linetype 1 # opposite Forest green
示例脚本:
@png
set output "output.png"
plot x ls 1,-x ls 2,x**3 ls 3
你已经拥有了相当不错的图表.稍微调整线宽和字体大小,你可以做得比用Excel获得的更好.