# set terminal pngcairo transparent enhanced fontscale 1.0 size 600, 400 # set output 'fit.7.png' set bar 1.000000 front set style circle radius graph 0.02, first 0.00000, 0.00000 set style ellipse size graph 0.05, 0.03, first 0.00000 angle 0 units xy set key bmargin center horizontal Right noreverse enhanced autotitle nobox set style textbox transparent margins 1.0, 1.0 border unset logscale unset paxis 1 tics unset paxis 2 tics unset paxis 3 tics unset paxis 4 tics unset paxis 5 tics unset paxis 6 tics unset paxis 7 tics set title "the scattered points, and the initial parameter" set paxis 1 range [ * : * ] noreverse nowriteback set paxis 2 range [ * : * ] noreverse nowriteback set paxis 3 range [ * : * ] noreverse nowriteback set paxis 4 range [ * : * ] noreverse nowriteback set paxis 5 range [ * : * ] noreverse nowriteback set paxis 6 range [ * : * ] noreverse nowriteback set paxis 7 range [ * : * ] noreverse nowriteback set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front noinvert bdefault l(x) = y0 + m*x high(x) = mh*(x-Tc) + dens_Tc lowlin(x) = ml*(x-Tc) + dens_Tc curve(x) = b*tanh(g*(Tc-x)) density(x) = x < Tc ? curve(x)+lowlin(x) : high(x) h(x,y) = sqrt(r*r - (abs(x-x0))**2.2 - (abs(y-y0))**1.8) + z0 myencoding = "utf8" y0 = 0.2 m = -0.000943519626924529 GPFUN_l = "l(x) = y0 + m*x" x = 0.0 FIT_CONVERGED = 1 FIT_NDF = 31 FIT_STDFIT = 0.0137395924378767 FIT_WSSR = 0.00585206841112775 FIT_P = 1.0 FIT_NITER = 19 y0_err = 0.00148404909012443 m_err = 3.15383626024729e-05 ml = -0.00103152542276233 mh = -0.0008340717673769 dens_Tc = 1.02499621370905 Tc = 46.0665367045608 g = 6.92493866108287 b = 0.00139548391000006 GPFUN_high = "high(x) = mh*(x-Tc) + dens_Tc" GPFUN_lowlin = "lowlin(x) = ml*(x-Tc) + dens_Tc" GPFUN_curve = "curve(x) = b*tanh(g*(Tc-x))" GPFUN_density = "density(x) = x < Tc ? curve(x)+lowlin(x) : high(x)" ml_err = 1.62623230565094e-05 mh_err = 3.737890801507e-06 dens_Tc_err = 7.27819513635249e-06 Tc_err = 0.00159887430059728 g_err = 0.429342070879149 b_err = 5.81804522574664e-05 r = 0.5 x0 = 0.1 z0 = 0.3 GPFUN_h = "h(x,y) = sqrt(r*r - (abs(x-x0))**2.2 - (abs(y-y0))**1.8) + z0" ## Last datafile plotted: "hemisphr.dat" splot 'hemisphr.dat' using 1:2:3, h(x,y) ## fit density(x) 'lcdemo.dat' using 1:2:5 yerror via 'start.par'