ScottPlot.NET
GitHub Repo stars

Multiplier Notation

Numeric tick labels may be displayed using multiplier notation (where tick labels are displayed using scientific notation with the eponent displayed in the corner of the plot). A helper method is available to set-up multiplier notation with a single statement, but users can interact with the object this method returns (not shown here) or inspect the code inside of that method to learn how to achieve enhanced customization abilities.

ScottPlot.Plot myPlot = new();

// plot sample data with extremely large values
double[] xs = Generate.RandomSample(50, -1e10, 1e10);
double[] ys = Generate.RandomSample(50, -1e20, 1e20);
myPlot.Add.Scatter(xs, ys);

// enable multiplier notation on both primary axes
myPlot.Axes.SetupMultiplierNotation(myPlot.Axes.Left);
myPlot.Axes.SetupMultiplierNotation(myPlot.Axes.Bottom);

myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Axis and Ticks category