public HeatmapPlotValue Function(MatrixValue Z) { var plot = new HeatmapPlotValue(); plot.AddPoints(Z); return(plot); }
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(); } }); }
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(); }
public HeatmapPlotValue Function(MatrixValue Z) { var plot = new HeatmapPlotValue(); plot.AddPoints(Z); return plot; }