<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 7: fit command issue</title><link href="https://sourceforge.net/p/pyxplot/bugs/7/" rel="alternate"/><link href="https://sourceforge.net/p/pyxplot/bugs/7/feed.atom" rel="self"/><id>https://sourceforge.net/p/pyxplot/bugs/7/</id><updated>2011-02-25T14:48:09Z</updated><subtitle>Recent changes to 7: fit command issue</subtitle><entry><title>fit command issue</title><link href="https://sourceforge.net/p/pyxplot/bugs/7/" rel="alternate"/><published>2011-02-25T14:48:09Z</published><updated>2011-02-25T14:48:09Z</updated><author><name>Dominic Ford</name><uri>https://sourceforge.net/u/dcf21/</uri></author><id>https://sourceforge.net853f75ed66eb6ac435c2994faf4494df7f80dece</id><summary type="html">The following issue has been reported by email:

Hello Dominic,                                                                                                                                                   
Hope all is well.                                                                                                                                                
I would appreciate if you could provide some assistance please with the following:                                                                               

I have a function which I wish to fit to my data. I get the following error message which I don't understand. I tried to run the same commands in gnuplot but didn't encounter this error \(I did have use log instead of ln in gnuplot to get ln\)                                                                              


pyxplot&amp;gt; height1=1634.66861345;center1=395.011265079;width1=15.8282972557;asym1=0.495963864298                                                                   
pyxplot&amp;gt; height2=1606.61388466;center2=392.034035427;width2=11.3956998608;asym2=-0.278652616624                                                                  
pyxplot&amp;gt; f\(x\) = height1\*exp\(-ln\(2\)\*\(ln\(2.0\*asym1\*\(x-center1\)/width1+1\)/asym1\)\*\*2\) + height2\*exp\(-ln\(2\)\*\(ln\(2.0\*asym2\*\(x-center2\)/width2+1\)/asym2\)\*\*2\)            
pyxplot&amp;gt; fit f\(\) "datafile.txt" u 1:2 via height1,height2,center1,center2,width1,width2,asym1,asym2                                                              

Error: The function log\(x\) is not defined at the requested point in parameter space.                                                                             

Any ideas?                                                                                                                                                       

Thank you.                                                                                                                                                       
Regards,                                                                                                                                                         

Will.</summary></entry></feed>