0
votes

I have a .dat file which 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?

1

1 Answers

2
votes

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.