ScottPlot.NET
GitHub Repo stars

Vector Field Arrow Length

Length of arrows in a vector field may be customized by defining length (in pixel units) to display the longest vector.

ScottPlot.Plot myPlot = new();

RootedCoordinateVector[] vectors = Generate.SampleVectors();
var vf = myPlot.Add.VectorField(vectors);
vf.MaximumArrowLength = 15;

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