|
From: super z. <zac...@ya...> - 2010-01-28 13:27:56
|
Hi all I am trying to fit a function that takes data from two files. Is there a way to do this using GNUPLOT? For example: I am trying to fit a lightcurve by considering light coming from two sources, lets call them A & B. I thus have two text files A.dat & B.dat that each contain three columns: time / flux / flux error I have an equation I want to fit to these data files that roughly equates to (though is actually more complicated): total_flux(x) = K*flux_A(x) + L*flux_B(x) where K & L are constants I want to determine by fitting. Is there a way to do this? I have discovered "fit multi-branch" but that seems to fit the same equation to two datasets, which is not the same as what I am trying to do here. Many thanks in advance. Best, Zach -- View this message in context: http://old.nabble.com/GNUPLOT---Fitting-Multiple-Text-files-tp27355951p27355951.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |