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:
Put a
#
in front of your first line like:# q h error
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 withfit
issmooth
.
精彩评论