开发者

gnuplot, not including a line in data fit

开发者 https://www.devze.com 2023-03-19 03:56 出处:网络
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, mea

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

精彩评论

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

关注公众号