ScaleBar Styling
The ScaleBar has many properties which may be customized
ScottPlot.Plot myPlot = new();
// plot sample data
myPlot.Add.Signal(Generate.Sin());
myPlot.Add.Signal(Generate.Cos());
// add a scale bar
var scalebar = myPlot.Add.ScaleBar(5, 0.25);
scalebar.LineWidth = 5;
scalebar.LineColor = Colors.Magenta;
// 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
