From: ariadland <ari...@gm...> - 2009-08-19 17:51:28
|
I plotted the following function in gnuplot (version 4.2 patch 5) plot [.5:1.5] 1/(1/2.9898+94*(-x**2+1)**2*(-x**2+4/3)**2) The resulting figure should have two peaks. One at x=1, and one at about x=1.2. Gnuplot, however, just shows one smooth peak. When I type in plot [.5:1.5] 1/(1/2.9898+94*(-1.2**2+1)**2*(-1.2**2+4/3)**2) gnuplot returns a value that is horribly wrong (checked by mathematica and matlab). Does it have something to do with the division? I'm not sure, but this is a serious flaw. -- View this message in context: http://www.nabble.com/Gnuplot-miscalculates-formula-badly-tp25048938p25048938.html Sent from the Gnuplot - Bugs mailing list archive at Nabble.com. |