GitHub Repo stars

Callout Quickstart

Callouts display a label and are connected with an arrow that marks a point on the plot.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

double[] xs = Generate.Consecutive(15);
double[] ys = Generate.Sin(15);
myPlot.Add.Scatter(xs, ys);

    textLocation: new(7.5, .8),
    tipLocation: new(xs[6], ys[6]));

    textLocation: new(10, 0),
    tipLocation: new(xs[13], ys[13]));

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub