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