Fixed Padding
The plot can be arranged to achieve a fixed amount of padding on each side of the data area
ScottPlot.Plot myPlot = new();
// add sample data to the plot
myPlot.Add.Signal(Generate.Sin(51));
myPlot.Add.Signal(Generate.Cos(51));
// use a fixed amount of of pixel padding on each side
PixelPadding padding = new(100, 50, 100, 50);
myPlot.Layout.Fixed(padding);
// darken the figure background so we can observe its dimensions
myPlot.FigureBackground.Color = Colors.LightBlue;
myPlot.DataBackground.Color = Colors.White;
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Layout category
