ScottPlot.NET
GitHub Repo stars

Vector Field Colormap

Vector field arrows can be colored according to their magnitude.

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);
This recipe is one of many in the Vector Field category