开发者

gnuplot, not including a line in data fit

I have a .dat file w开发者_JS百科hich I create in the following format:

q h error

The first line of data is not relevant for the fit. Does setting the xrange to not include the undesired point, mean that this value will not be used in the fit?


There are two main lines you could proceed:

  1. Put a # in front of your first line like:

    # q h error
    
  2. Use every to skip the first line of your data file like so:

    plot 'Data.dat' every 1::2 
    

    The same thing also holds for fit. The only data modifier that is not allowed with fit is smooth.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜