Changeset 14992
 Timestamp:
 05/17/17 13:04:38 (2 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/sources/HeuristicLab.Analysis.Views/3.3/ScatterPlotView.cs
r14987 r14992 579 579 double min = row.Points.Min(p => p.X), max = row.Points.Max(p => p.X); 580 580 double range = max  min, delta = range / Math.Max(row.Points.Count  1, 50); 581 for (double x = min; x <= max; x += delta) { 582 regressionSeries.Points.AddXY(x, Estimate(x, row, coefficients)); 581 if (range > double.Epsilon) { 582 for (double x = min; x <= max; x += delta) { 583 regressionSeries.Points.AddXY(x, Estimate(x, row, coefficients)); 584 } 583 585 } 584 586
Note: See TracChangeset
for help on using the changeset viewer.