This from-scratch re-code has separate classes for core plotting routines, data generation, and axis manipulation. Tick marks are quite intelligent as well. Included is a GUI demo as well as a 6 line console application which does the same thing (saving the output to a .jpg file instead of displaying it interactively).
This 6-line program will generate 5,000 random data points and save the output graph as a figure.
private static void Main(string[] args)
{
ScottPlot2.ScottPlot SP = new ScottPlot2.ScottPlot();
ScottPlot2.Generate SPgen = new ScottPlot2.Generate();
SP.SetSize(1500, 400);
SP.AddLine(SPgen.Sequence(5000), SPgen.Sine(5000));
SP.Render();
SP.SaveFig("test.jpg");
}
The axis labels are getting really smart. This makes live panning and zooming a breeze!