← Back to team overview

sslug-teknik team mailing list archive

Re: Plotning af data i gnuplot

 

Undskyld der var lige en lille fejl i fit kommandoen.

# Ligningen som du ønsker at tilnærme
f1(x) = a1*x + a0
# Start gæt
a1 = 1
a0 = 1
# Fit funktionen
fit f1(x) 'data.txt' via a1, a0


mvh
Anders Lyckegaard
-- 
Anders Lyckegaard, Ph.D student
Institute of Mechanical Engineering, Aalborg University
Pontoppidanstraede 101, DK-9220 Aalborg Oest, Denmark
Phone: +45 9635 8080 (direct: +45 9635 9325), fax: +45 9815 1675
Email: al@xxxxxxxxxx


References