【问题标题】:GNUPLOT: Trying to increase the qualityGNUPLOT:试图提高质量
【发布时间】:2011-11-08 19:55:26
【问题描述】:

如何提高 gnuplot 的质量?看起来这是一张非常低分辨率的图片。

这是我正在使用的文件的内容:linkage.plot

set terminal pdf
set out 'linkage.pdf'

set title "Distribution of Scores"
set xlabel "Score Value"
set ylabel "Appearences"

set yrange [0:50000]
set xrange [0:70]

binwidth=.25
bin(x,width)=width*floor(x/width)

plot 'linkage.dat' using (bin($1,binwidth)):(1.0) title "Scores"\
smooth freq with boxes

【问题讨论】:

    标签: image graph gnuplot histogram


    【解决方案1】:

    gnuplot pdf 输出通常非常好(它是通过具有抗锯齿等功能的 cairo pdf 库实现的)。但这里有几点可能会有所帮助:

    • help terminal pdfgnuplot> 提示符下会提供一些关于打印到 pdf 的帮助。

    • set terminal pdf linewidth 1 会给你一个更粗的线宽。

    • [已删除 - 我的错误]

    【讨论】:

    • 谢谢!我什至没有想过要检查 gnuplot> 命令帮助部分。很棒的电话。我对“平滑频率”知之甚少——有什么我应该改用的吗?我从这里发现...stackoverflow.com/questions/2471884/histogram-using-gnuplot
    • 啊;我可能误解了那是为了什么。我没认出它,搜索后认为这是做直方图的“旧”方式,但你的链接显示它略有不同。所以最好忽略这一点。事实上我会删除它,对不起。
    猜你喜欢
    • 1970-01-01
    • 2014-04-07
    • 1970-01-01
    • 2016-05-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-09
    • 1970-01-01
    相关资源
    最近更新 更多