<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 7: fit command issue</title><link>https://sourceforge.net/p/pyxplot/bugs/7/</link><description>Recent changes to 7: fit command issue</description><atom:link href="https://sourceforge.net/p/pyxplot/bugs/7/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 25 Feb 2011 14:48:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pyxplot/bugs/7/feed.rss" rel="self" type="application/rss+xml"/><item><title>fit command issue</title><link>https://sourceforge.net/p/pyxplot/bugs/7/</link><description>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.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominic Ford</dc:creator><pubDate>Fri, 25 Feb 2011 14:48:09 -0000</pubDate><guid>https://sourceforge.net853f75ed66eb6ac435c2994faf4494df7f80dece</guid></item></channel></rss>