Bug 394223 - Support the preview of the fitting curve using the fit start values
Summary: Support the preview of the fitting curve using the fit start values
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: frontend (show other bugs)
Version: latest
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 22:42 UTC by Uwe Stöhr
Modified: 2020-05-22 20:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Stöhr 2018-05-13 22:42:09 UTC
LabPlot should provide to show the fit curve using the chosen start values immediately. This way users see if their start values are sensible.

This feature is already available in other fit programs like MagicPlot.

This bug is a spin-off from bug 386800.
Comment 1 Stefan Gerlach 2018-05-22 20:46:23 UTC
this feature will be part of the next release 2.6
Comment 2 Stefan Gerlach 2018-10-18 21:34:10 UTC
LabPlot now supports preview with the given start values when enabling the "preview" option. Do you need a Windows package to test it?
Comment 3 Uwe Stöhr 2018-11-06 13:48:12 UTC
> LabPlot now supports preview with the given start values when enabling the "preview" option.

Not with he build you sent me:

- create a new table with 2 columns
- fill the table columns with row numbers
- create a new custom fit
- use as fit function this one
a*x
- set fit interval x:10 - 25 (what is the difference between the fit and the evaluation interval? Please add tooltips to explain this to the user)
- enable the preview option
- set parameter a to '2'

result: I expect to see the function 2*x but nothing is shown.

I found a workaround. one must right click in the project explorer on the fit and there check visible then subsequently select visible again. The bug is the LP shows you that the fit is visible in the context menu while it is not. Thus by making it unvisible and then visible again it is really shown.

Note also that the default number format for the fit interval uses 6 visible digits. This is no common use case, at least reduce it to 4 digits.
Comment 4 Stefan Gerlach 2018-11-08 23:06:15 UTC
I fixed a couple of bugs:
* add tool tips for fit/evaluate range
* improve range display (digits)
* setting start values should not reset parameter list

Unfortunately i can not reproduce the preview problem you have. Do you set the x-data and y-data columns before you set the parameter 'a' to 2?
Please check if this problem is still present for you in the rc2 package that can be found at
https://theorie.physik.uni-konstanz.de/gerlach/labplot/labplot-2.6.0rc2-64bit-setup.exe
Comment 5 Uwe Stöhr 2018-11-09 02:33:22 UTC
The bug is now fixed but the option to preview the fit option should be enabled by default. This is a very useful new feature and I am sure also other users don't like to enable this option for every fit manually.
Comment 6 Stefan Gerlach 2018-11-09 21:31:37 UTC
the preview is now enabled per default. If nobody complains, i'm happy with this :-)
Comment 7 Uwe Stöhr 2019-06-10 19:54:19 UTC
the preview is now enabled per default(In reply to Stefan Gerlach from comment #6)
> the preview is now enabled per default.

I cannot see this. Where do I have to enable the preview manually?
Comment 8 Stefan Gerlach 2020-05-22 20:10:18 UTC
The preview settings can be changed in the "Advanced" dialog in the "Fit" options.