public void Update(String title, Matrix<double> plotdata, List<string> legend, double timestep, int[] markers) { p = (Presenter)this.DataContext; p.Update(title, plotdata, legend, timestep, markers); }
public PlotWindow(String title, Matrix<double> plotdata, List<string> legend, double timestep, int[] markers) { InitializeComponent(); p = (Presenter)this.DataContext; p.Update(title, plotdata, legend, timestep, markers); }