Bug 400748 - missing autoscale for x-axis of fit plots
Summary: missing autoscale for x-axis of fit plots
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: frontend (other bugs)
Version First Reported In: latest
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 13:59 UTC by uwestoehr
Modified: 2018-11-10 09:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uwestoehr 2018-11-06 13:59:51 UTC
- 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 and evaluation interval x:10 - 25 
- set start parameter a to '2'
- calculate the fit

result: the x-axis of the diagram is still 0 - 100
But since I only fitted and evaluated from 10 - 25 the x-axis scale should automatically be set to the evaluation interval plus 10%. So in my case to 9 - 27.5. This would speed up the work flow a lot because since I explicitly set an evaluation interval I tell LP that i am interested in this interval. I can later chance the x-axis if i really need this but in the vast majority of the cases I need the evaluation interval to be drawn.

Note also: What is the difference between the fit and the evaluation interval? Please add tooltips to explain this to the user.
Comment 1 Stefan Gerlach 2018-11-10 09:50:03 UTC
LP now supports auto scaling of the x range when a custom eval range is specified. The range is set to +/- 5% of the value range (not the values itself as in your example).
Please check this feature when the rc3 package is available.