Closed. This question does not meet Stack Overflow guidelines。它当前不接受答案。
想要改善这个问题吗?更新问题,以便将其作为on-topic用于堆栈溢出。
5年前关闭。
Improve this question
我已经使用GNU-plot很长时间了,我不喜欢它产生的图形的质量。
我很欣赏在gnu-plot中绘制图形的便捷性,但是我希望生成的图形在质量上更好。例如:线条的粗细,颜色质量等。
那么是否有保留GNU PLOT易用性但消除了质量问题的工具?
示例脚本:
而且您已经有了一个不错的图形。稍微调整
想要改善这个问题吗?更新问题,以便将其作为on-topic用于堆栈溢出。
5年前关闭。
Improve this question
我已经使用GNU-plot很长时间了,我不喜欢它产生的图形的质量。
我很欣赏在gnu-plot中绘制图形的便捷性,但是我希望生成的图形在质量上更好。例如:线条的粗细,颜色质量等。
那么是否有保留GNU PLOT易用性但消除了质量问题的工具?
最佳答案
如果您需要除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
而且您已经有了一个不错的图形。稍微调整
linewidth
和fontsize
,您可以做得比用Excel更好。关于linux - 有没有比GNU绘图更好的图形绘图工具?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/18265754/