public HeatmapPlotValue Function(MatrixValue Z)
        {
            var plot = new HeatmapPlotValue();

            plot.AddPoints(Z);
            return(plot);
        }
Example #2
0
        public HeatmapViewModel(HeatmapPlotValue value)
        {
            _value        = value;
            _title        = value[0].Label;
            _colorPalette = value.ColorPalette;
            _save         = new RelayCommand(x =>
            {
                var window          = x as Window;
                _value.ColorPalette = _colorPalette;
                _value[0].Label     = _title;
                _value.UpdateProperties();

                if (window != null)
                {
                    window.Close();
                }
            });
        }
Example #3
0
        public SumericsHeatPlot(HeatmapPlotValue plot)
            : base(plot)
        {
            var model = _model.Model;

            _plot = plot;
            model.Axes.Add(new LinearAxis {
                Position = AxisPosition.Bottom
            });
            model.Axes.Add(new LinearAxis {
                Position = AxisPosition.Left
            });
            _colorAxes = new LinearColorAxis {
                Position = AxisPosition.Right
            };
            model.Axes.Add(_colorAxes);
            UpdateSeries();
            UpdateProperties();
        }
Example #4
0
 public HeatmapPlotValue Function(MatrixValue Z)
 {
     var plot = new HeatmapPlotValue();
     plot.AddPoints(Z);
     return plot;
 }