Changeset 6750


Ignore:
Timestamp:
09/13/11 13:58:28 (8 years ago)
Author:
mkommend
Message:

#1643: Corrected RegressionSolutionErrorCharacteristicsCurveView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs

    r6740 r6750  
    139139        if (residuals[i] > chart.ChartAreas[0].AxisX.Maximum) {
    140140          point.XValue = chart.ChartAreas[0].AxisX.Maximum;
    141           point.YValues[0] = ((double)i - 1) / residuals.Count;
     141          point.YValues[0] = ((double)i) / residuals.Count;
    142142          point.ToolTip = "Error: " + point.XValue + "\n" + "Samples: " + point.YValues[0];
    143143          series.Points.Add(point);
     
    146146
    147147        point.XValue = residuals[i];
    148         point.YValues[0] = ((double)i) / residuals.Count;
     148        point.YValues[0] = ((double)i+1) / residuals.Count;
    149149        point.ToolTip = "Error: " + point.XValue + "\n" + "Samples: " + point.YValues[0];
    150150        series.Points.Add(point);
Note: See TracChangeset for help on using the changeset viewer.