任何图形绘图工具都优于GNU绘图?

时间:2013-08-16 04:23:10

标签: linux graph gnuplot

我已经使用了GNU-plot很长一段时间,我不喜欢它所产生的图形质量。

我很欣赏我们可以轻松地在gnu-plot中绘制图形,但我希望结果图表在质量方面更好。例如:线条的粗细,颜色质量等。

所以是否有任何工具可以保留GNU PLOT的易用性,但却消除了质量问题?

  

[我喜欢excel产生的图表,但不幸的是它没有开启   的Linux ...]

3 个答案:

答案 0 :(得分: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

示例脚本:

@png
set output "output.png"
plot x ls 1, -x ls 2, x**3 ls 3

你已经拥有了相当不错的图表。稍微调整linewidthfontsize,你可以做得比用Excel获得的更好。

答案 1 :(得分:4)

你可以试试R. R具有不同的图形绘制库。在这个SO问题中,它得到了很好的解释 - Relationship between plotting packages in R

答案 2 :(得分:2)

您可以尝试ctioga2:http://ctioga2.sourceforge.net。我写它是因为我对gnuplot不满意。它没有所有gnuplot功能,但就图形质量而言,它做得更好。

要从gnuplot迁移,您可能会对gnuplot versus ctioga2页感兴趣。

相关问题