This page is part of the ScottPlot 5.0 Cookbook
⚠️ ScottPlot 5.0.8-beta is a preview package
This page describes a beta release of ScottPlot. It is available on NuGet as a preview package, but its API is not stable and it is not recommended for production use. See the ScottPlot Versions page for more information.
Signal plots can be offset by a given X and Y value.
ScottPlot.Plot myPlot = new(); double values = Generate.Sin(51); var sig1 = myPlot.Add.Signal(values); sig1.Label = "Default"; var sig2 = myPlot.Add.Signal(values); sig2.Data.XOffset = 10; sig2.Data.YOffset = .25; sig2.Label = "Offset"; myPlot.Legend(); myPlot.SavePng("offset.png");