Changeset 14472
- Timestamp:
- 12/09/16 15:59:26 (8 years ago)
- Location:
- branches/DataPreprocessing Enhancements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r14470 r14472 71 71 comboBoxGroup.SelectedIndex = 0; 72 72 UpdateScatterPlot(); 73 if (scatterPlotControl.Content != null) 74 foreach (var row in scatterPlotControl.Content.Rows) 75 row.VisualProperties.PointSize = 6; 73 76 } 74 77 } -
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Content/ScatterPlotContent.cs
r14467 r14472 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using System.Linq; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; 27 using HeuristicLab.Visualization.ChartControlsExtensions; 26 28 27 29 namespace HeuristicLab.DataPreprocessing { … … 41 43 IList<double> xValues = PreprocessingData.GetValues<double>(PreprocessingData.GetColumnIndex(variableNameX)); 42 44 IList<double> yValues = PreprocessingData.GetValues<double>(PreprocessingData.GetColumnIndex(variableNameY)); 45 46 double axisMin, axisMax, axisInterval; 47 try { 48 ChartUtil.CalculateOptimalAxisInterval(xValues.Min(), xValues.Max(), out axisMin, out axisMax, out axisInterval); 49 scatterPlot.VisualProperties.XAxisMinimumAuto = false; 50 scatterPlot.VisualProperties.XAxisMaximumAuto = false; 51 scatterPlot.VisualProperties.XAxisMinimumFixedValue = axisMin; 52 scatterPlot.VisualProperties.XAxisMaximumFixedValue = axisMax; 53 } catch (ArgumentOutOfRangeException) { } // missing values lead to NaNs 54 try { 55 ChartUtil.CalculateOptimalAxisInterval(yValues.Min(), yValues.Max(), out axisMin, out axisMax, out axisInterval); 56 scatterPlot.VisualProperties.YAxisMinimumAuto = false; 57 scatterPlot.VisualProperties.YAxisMaximumAuto = false; 58 scatterPlot.VisualProperties.YAxisMinimumFixedValue = axisMin; 59 scatterPlot.VisualProperties.YAxisMaximumFixedValue = axisMax; 60 } catch (ArgumentOutOfRangeException) { } // missing values lead to NaNs 61 43 62 if (variableNameColor == null || variableNameColor == "-") { 44 63 List<Point2D<double>> points = new List<Point2D<double>>(); -
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/HeuristicLab.DataPreprocessing-3.4.csproj
r14467 r14472 115 115 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.DataAnalysis-3.4.dll</HintPath> 116 116 </Reference> 117 <Reference Include="HeuristicLab.Visualization.ChartControlsExtensions-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 118 <SpecificVersion>False</SpecificVersion> 119 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath> 120 </Reference> 117 121 <Reference Include="System" /> 118 122 <Reference Include="System.Core" /> -
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Plugin.cs.frame
r14195 r14472 37 37 [PluginDependency("HeuristicLab.Persistence", "3.3")] 38 38 [PluginDependency("HeuristicLab.Problems.DataAnalysis","3.4")] 39 [PluginDependency("HeuristicLab.Visualization.ChartControlsExtensions", "3.3")] 39 40 public class HeuristicLabDataPreprocessingPlugin : PluginBase { 40 41 }
Note: See TracChangeset
for help on using the changeset viewer.