ScottPlot.NET
GitHub Repo stars

Eto Quickstart

Step 1: Create a new .NET console application

Step 2: Install the following NuGet packages:

Linux & MacOS may need to take additional steps

Step 3: Create MainWindow.cs and add the following:

partial class MainWindow : Eto.Forms.Form
{
    private readonly ScottPlot.Eto.EtoPlot EtoPlot1 = new();

    public MainWindow()
    {
        InitializeComponent();

        EtoPlot1.Plot.Add.Signal(ScottPlot.Generate.Sin());
        EtoPlot1.Plot.Add.Signal(ScottPlot.Generate.Cos());
    }

    private void InitializeComponent()
    {
        Content = EtoPlot1;
        Width = 800;
        Height = 600;
    }
}

Step 4: Edit Program.cs to contain the following:

static class Program
{
    [STAThread]
    static void Main(string[] args)
    {
        new Eto.Forms.Application(Eto.Platform.Detect).Run(new MainWindow());
    }
}

Screenshots

WPF

GTK

OSX