ScottPlot.NET
GitHub Repo stars

Vector Field Colormap

Vector field arrows can be colored according to their magnitude.

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

RootedCoordinateVector[] vectors = Generate.SampleVectors();
var vf = myPlot.Add.VectorField(vectors);
vf.Colormap = new ScottPlot.Colormaps.Turbo();

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

Edit on GitHub