From 1a3044bb35dc4acc19d48c9f932ba93f12b07367 Mon Sep 17 00:00:00 2001 From: behrooz bozorgchamy Date: Sat, 16 Nov 2024 18:34:42 +0100 Subject: [PATCH] Update README.md with new scottplot changes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 855e7f5..247d327 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,9 @@ double samplePeriod = sampleRate / 1000.0; // plot the sample audio ScottPlot.Plot plt = new(); -plt.AddSignal(signal, samplePeriod); +plt.Add.Signal(signal, samplePeriod); plt.YLabel("Amplitude"); -plt.SaveFig("time-series.png"); +plt.SavePng("time-series.png",500,500); ```