private void SetSweep(int sweepNumber = 1) { currentSweep = sweepNumber; EphysPlot.Sweep(wpfPlot1.plt, abf, sweepNumber, (bool)cbDerivative.IsChecked); wpfPlot1.Render(); lblSweep.Content = $"{sweepNumber + 1} of {abf.info.sweepCount}"; }
private void SetStack() { if (!double.TryParse(tbVertSep.Text, out double yOffset)) { yOffset = 0; } EphysPlot.Stack(wpfPlot1.plt, abf, yOffset, (bool)cbDerivative.IsChecked); wpfPlot1.Render(); }
private void SetFull() { EphysPlot.Full(wpfPlot1.plt, abf, (bool)cbDerivative.IsChecked); wpfPlot1.Render(); }