Created attachment 120752 [details] plot showing the bug - open the attached example file - look at the plot: the error bars of the first data points are missing and I cannot find out why The Chi^2_red is however correctly calculated using also the undisplayed error bars. So it is a pure display bug but a nasty one since one cannot use the plot in papers, presentations etc.
For the y-error you use the column "thickness error" and the value for the first point is zero. This is the reason why no error bars are shown for the first values. For the next points with energy = 320, 260, ... 560J no error bars are shown - this is bug. Here we don't handle correctly the rows from 2 to 8 in the spreadsheet having NANs. I'll fix this. Removing those rows can be used as a temporary workaround.
> the value for the first point is zero. Yes, this is purposely and I also don't want an error bar. Physics says it must be zero so there cannot be an error. > For the next points with energy = 320, 260, ... 560J no error bars are shown - this is bug. Here we don't handle correctly the rows from 2 to 8 in the spreadsheet having NANs. I'll fix this. Thank you.
Git commit ec38c0da33083a2a4790df1e7cdd0959d6a4ca09 by Alexander Semke. Committed on 12/06/2019 at 20:54. Pushed by asemke into branch 'master'. Correctly show error bars for data source columns having NANs. FIXED-IN: 2.7 M +14 -18 src/backend/worksheet/plots/cartesian/XYCurve.cpp M +1 -0 src/backend/worksheet/plots/cartesian/XYCurvePrivate.h https://commits.kde.org/labplot/ec38c0da33083a2a4790df1e7cdd0959d6a4ca09