ScaleBar Quickstart
A ScaleBar can be added to a plot to convey scale information allowing axis frames, ticks, and labels to be hidden.
ScottPlot.Plot myPlot = new();
// plot sample data
myPlot.Add.Signal(Generate.Sin());
myPlot.Add.Signal(Generate.Cos());
// add a scale bar
myPlot.Add.ScaleBar(5, 0.25);
// disable the grid and axis labels
myPlot.HideGrid();
myPlot.Axes.Frameless();
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Scale Bar category
