Gnuplot:如何设置适合的最大数据点数 [英] Gnuplot : How to set max number of data points for fit

查看:86
本文介绍了Gnuplot:如何设置适合的最大数据点数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个涉及多个拟合的gnuplot脚本,用于大型数据样本。因此,fit必须多次扩展其最大数据点数,并将其打印在输出上。

I'm using a gnuplot script that involves several fits, on large data samples. Thus fit has to scale up its max number of data points several times, and it prints on the output

Max. number of data points scaled up to: 3072
Max. number of data points scaled up to: 4608
Max. number of data points scaled up to: 6912
Max. number of data points scaled up to: 10368
Max. number of data points scaled up to: 15552
Max. number of data points scaled up to: 23328

我想避免这种情况,因为这会在有用的其他信息打印在输出上。

I would like to avoid that since it makes noise among the useful others information printed on the output.

我使用了 set fit quiet ,它禁用了所有适合的输出,除了这一点!

I used set fit quiet, it diseabled all fit output except this one !

所以我的问题是:如何手动设置适合的最大数据点数,以避免出现这些消息?

So my question is : how to set manually the max number of data points for fit, in order to avoid these messages?

推荐答案

查看 fit 源代码(可以从 sourceforge ),似乎您可以在gnuplot中设置 no 参数来更改最高数据点数

默认值为 MAX_DATA 2028

如果编译从源gnuplot,您可能可以将其更改为更高的值。

您可以从gnuplot中控制的唯一参数是 gnuplot文档

Looking at the fit source code (which you can download from sourceforge), it appears there is no parameter you can set within gnuplot to change the max. number of data points.
The default value is MAX_DATA 2028.
If you compile your gnuplot from source, you can probably change that to a higher value.
The only parameters you can control from within gnuplot are those mentioned in the gnuplot documentation.

这篇关于Gnuplot:如何设置适合的最大数据点数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆