Page MenuHomePhabricator

Linegraphs not correctly drawn?
Closed, ResolvedPublic

Description

Draw a line with the measurement tool.
Now use the statistics tool to visualize the line profile. This seems to start at -1, not 0. I found this bug while coding for bug:
http://bugs.mitk.org/show_bug.cgi?id=18996

At least the data array seems to suggest indexing starts at 0, so this seems to be a bug in the plot itself.

Event Timeline

User kirchnth has pushed new remote branch:

bug-19451-correctXAxisForLinePlots

[606abc]: Merge branch 'bug-19451-correctXAxisForLinePlots'

Merged commits:

2015-12-02 15:54:10 Thomas Kirchner [340b80]
this fixed a nonsensical correction when using a line plot which shifted the plot by -0.5 (or rather binSize/2)

Signed-off-by: Thomas Kirchner <t.kirchner@dkfz-heidelberg.de>

fixed a nonsensical correction when using a line plot which shifted the plot by -0.5 (or rather binSize/2)