Changeset 8580
- Timestamp:
- 09/05/12 16:22:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis.Views/3.4/GaussianProcessRegressionSolutionLineChartView.cs
r8562 r8580 115 115 this.ToggleSeriesData(this.chart.Series[ESTIMATEDVALUES_ALL_SERIES_NAME]); 116 116 117 117 118 // the series have been added in different order than in the normal line chart 118 119 // --> adapt coloring; 119 var s1Color = chart.Series[0].Color; 120 var s2Color = chart.Series[1].Color; 121 var s3Color = chart.Series[2].Color; 122 var s4Color = chart.Series[3].Color; 123 124 chart.Series[3].Color = s1Color; 125 chart.Series[0].Color = s2Color; 126 chart.Series[1].Color = s3Color; 127 chart.Series[2].Color = s4Color; 120 chart.ApplyPaletteColors(); 121 this.chart.Palette = ChartColorPalette.None; 122 var s0Color = chart.Series[0].Color; 123 var s1Color = chart.Series[1].Color; 124 var s2Color = chart.Series[2].Color; 125 var s3Color = chart.Series[3].Color; 126 this.chart.PaletteCustomColors = new Color[] { s1Color, s2Color, s3Color, s0Color }; 128 127 129 128 UpdateCursorInterval(); … … 282 281 mean = Content.EstimatedTestValues.ToArray(); 283 282 s2 = Content.EstimatedTestVariance.ToArray(); 284 lower = mean.Zip(s2, (m, s) => m - s).ToArray();285 upper = mean.Zip(s2, (m, s) => m + s).ToArray();283 lower = mean.Zip(s2, (m, s) => m - 1.96 * Math.Sqrt(s)).ToArray(); 284 upper = mean.Zip(s2, (m, s) => m + 1.96 * Math.Sqrt(s)).ToArray(); 286 285 break; 287 286 }
Note: See TracChangeset
for help on using the changeset viewer.