Here ισthe the code to generate the figures:
Here ισ the code to generate the figures:
Here the the code to generate the figures:
cumulativeGauss[x_, \[Mu]_μ_, \[Sigma]_]Σ_] := CDF[NormalDistribution[\[Mu]CDF[NormalDistribution[μ, \[Sigma]]Σ], x] fit1 = FindFit[ data1, cumulativeGauss[x, \[Mu]μ, \[Sigma]]Σ], {{\[Mu]μ, 5}, {\[Sigma]Σ, 5}}, x][[All, 2]]; fit2 = FindFit[ data2, cumulativeGauss[x, \[Mu]μ, \[Sigma]]Σ], {{\[Mu]μ, 5}, {\[Sigma]Σ, 5}}, x][[All, 2]]; Here ισ the code to generate the figures:
cumulativeGauss[x_, \[Mu]_, \[Sigma]_] := CDF[NormalDistribution[\[Mu], \[Sigma]], x] fit1 = FindFit[ data1, cumulativeGauss[x, \[Mu], \[Sigma]], {{\[Mu], 5}, {\[Sigma], 5}}, x][[All, 2]]; fit2 = FindFit[ data2, cumulativeGauss[x, \[Mu], \[Sigma]], {{\[Mu], 5}, {\[Sigma], 5}}, x][[All, 2]]; Here the code to generate the figures:
cumulativeGauss[x_, μ_, Σ_] := CDF[NormalDistribution[μ, Σ], x] fit1 = FindFit[ data1, cumulativeGauss[x, μ, Σ], {{μ, 5}, {Σ, 5}}, x][[All, 2]]; fit2 = FindFit[ data2, cumulativeGauss[x, μ, Σ], {{μ, 5}, {Σ, 5}}, x][[All, 2]]; Here ισ the code to generate the figures:
and I fit them with a cumulative gaussianGaussian function:
Here below are all the plots that I've produced to show the problem. The left column shows that when only the PlotPlot command is used the function is plotted along the whole range, so no problem. On the other hand, the right column shows the figures produced by combining a ListPlotListPlot with a PlotPlot. The first figure shows no problem, however, the figure in the second row does not plot the function along the whole range. This problem can be solved by increasing the range over which the function is plotted (figure in the 3rd row). Any hint about why this problem occurs and/or if there is any other solution?
and I fit them with a cumulative gaussian function:
Here below are all the plots that I've produced to show the problem. The left column shows that when only the Plot command is used the function is plotted along the whole range, so no problem. On the other hand, the right column shows the figures produced by combining a ListPlot with a Plot. The first figure shows no problem, however, the figure in the second row does not plot the function along the whole range. This problem can be solved by increasing the range over which the function is plotted (figure in the 3rd row). Any hint about why this problem occurs and/or if there is any other solution?
and I fit them with a cumulative Gaussian function:
Here below are all the plots that I've produced to show the problem. The left column shows that when only the Plot command is used the function is plotted along the whole range, so no problem. On the other hand, the right column shows the figures produced by combining a ListPlot with a Plot. The first figure shows no problem, however, the figure in the second row does not plot the function along the whole range. This problem can be solved by increasing the range over which the function is plotted (figure in the 3rd row). Any hint about why this problem occurs and/or if there is any other solution?