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); ```