Abh*_*hek 6 linux graph gnuplot
我已经使用了GNU-plot很长一段时间,我不喜欢它产生的图形质量.
我很佩服我们可以轻松地在gnu-plot中绘制图形,但我希望结果图表在质量方面更好.例如:线条的粗细,颜色质量等.
那么是否有任何工具可以保留GNU PLOT的易用性,但却消除了质量问题?
[我喜欢excel产生的图表,但不幸的是它不在Linux上......]
Ber*_*ard 18
如果你想要另一个工具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
Run Code Online (Sandbox Code Playgroud)
示例脚本:
@png
set output "output.png"
plot x ls 1, -x ls 2, x**3 ls 3
Run Code Online (Sandbox Code Playgroud)
你已经拥有了相当不错的图表.调整linewidth和fontsize一点,你可以做得比你会不会用Excel获取.
| 归档时间: |
|
| 查看次数: |
24480 次 |
| 最近记录: |