Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     String fake = @"d:\t35.CSV";
     d = new DecayCurve();
     d.LoadFromFile(fake);
     d.Normalize();
     chart1.Series[0].Points.Clear();
     foreach (Datapoint point in d.DataPoints) {
         if ((point.y !=0) && (point.t>0))chart1.Series[0].Points.AddXY(1e6*point.t,Math.Log10(point.y));
     }
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            String fake = @"d:\t35.CSV";

            d = new DecayCurve();
            d.LoadFromFile(fake);
            d.Normalize();
            chart1.Series[0].Points.Clear();
            foreach (Datapoint point in d.DataPoints)
            {
                if ((point.y != 0) && (point.t > 0))
                {
                    chart1.Series[0].Points.AddXY(1e6 * point.t, Math.Log10(point.y));
                }
            }
        }