private void btnSine_Click(object sender, EventArgs e) { Xs = SPgen.Sequence((int)numericUpDown1.Value); Ys = SPgen.Sine((int)numericUpDown1.Value); SP.AX.Auto(Xs, Ys); GraphDraw(); }
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"); }