misaligned error bars if uneven datasets
Posted: Fri Oct 03, 2008 5:59 pm
When importing from excel, I had some cells which were blank due to having unknown error. E.g:
Y Error
1.1 0.4
1.2 0.6
1.7 0.3
1.8
1.9 0.4
3.4 0.5
When importing into dplot, the "blank" space is not imported. Now the error series has less datapoints.
When selecting the error series as the error, dplot does not check the x values, and instead simply matches the error bars by the index in the series, resulting in the error bars appearing on the wrong point.
(The 1.8 point gets the error bars from 1.9, 1.9 gets the error bars from 3.4, and the 3.4 value ends up with no error bars).
I think it would be better if the error bars were matched to data points by their x values, but if it's by index, then we should at least get a message saying "number of datapoints in series don't match" or something. Better yet, ideally a blank space in a dataset could be imported into dplot as a null value (right now I'm putting in error bars of "0" to get around the problem, but a null value would be preferable, with the idea being that no error bars would be shown for that point).
Y Error
1.1 0.4
1.2 0.6
1.7 0.3
1.8
1.9 0.4
3.4 0.5
When importing into dplot, the "blank" space is not imported. Now the error series has less datapoints.
When selecting the error series as the error, dplot does not check the x values, and instead simply matches the error bars by the index in the series, resulting in the error bars appearing on the wrong point.
(The 1.8 point gets the error bars from 1.9, 1.9 gets the error bars from 3.4, and the 3.4 value ends up with no error bars).
I think it would be better if the error bars were matched to data points by their x values, but if it's by index, then we should at least get a message saying "number of datapoints in series don't match" or something. Better yet, ideally a blank space in a dataset could be imported into dplot as a null value (right now I'm putting in error bars of "0" to get around the problem, but a null value would be preferable, with the idea being that no error bars would be shown for that point).