The same instruction fit aB*x+bB $tab via aB,bB
works fine with the Version 5.0 patchlevel 0 last modified 2015-01-01
but does not wit the Version 5.2 patchlevel 2 last modified 2017-11-01.
yielding:
input and output datablock are the same
Thank you
Not enough information. Please show a complete set of commands.
That error message normally indicates that you are trying to read from and write to the same place, as would happen for instance if the commands were:
So far as I know it should not be possible to trigger than message from "fit" rather than "plot", but you may have found a bug. Possible adding an "unset table" command will work around this, but it would be nice to have a reproducible example so that we can see if more recent versions of gnuplot still have this same bug.
Thank you for the fast answer
the problem arises when I call the macro
@dfBulkif you want I can send also the python script closest.py and the files. Basically this script print lines of 12 numbers (%lf) each.
I am guessing that your script will work if you move the line "unset table" to come before the fit command rather than after the fit command.
Ticket moved from /p/gnuplot/support-requests/253/
Can't be converted:
Thanks a lot, the script works fine now with the two version 5.0 and 5.2 !