Beispiel #1
0
 public SinglePlotXY(ReportNode rp)
     : base(rp)
 {
     AddMenuItem("General", "X VS Y", delegate
     {
         XYSelectForm xy = new XYSelectForm("X-Axis:", "Y-Axis:", rp.PlotKeys);
         if (DialogResult.OK == xy.ShowDialog())
         {
             xaxis = xy.XAxis;
             yaxis = xy.YAxis;
             Plot();
         }
     }
                 );
 }
 public SinglePlotXYDifferentiate(ReportNode rp)
     : base(rp)
 {
     AddMenuItem("Calculus", "Differentiate", delegate
     {
         XYSelectForm xy = new XYSelectForm("X-Axis:", "Y-Axis:", rp.PlotKeys);
         if (DialogResult.OK == xy.ShowDialog())
         {
             xaxis = xy.XAxis;
             yaxis = xy.YAxis;
             Plot();
         }
     }
                 );
 }
Beispiel #3
0
 public SinglePlotDifference(ReportNode rp)
     : base(rp)
 {
     AddMenuItem("General", "Difference between two dataset", delegate
     {
         XYSelectForm xy = new XYSelectForm("Plot 1:", "Plot 2:", rp.PlotKeys);
         if (DialogResult.OK == xy.ShowDialog())
         {
             xaxis = xy.XAxis;
             yaxis = xy.YAxis;
             Plot();
         }
     }
                 );
 }
 public SingleRMSPlot(ReportNode rp)
     : base(rp)
 {
     AddMenuItem("Calculate", "RMS", delegate
     {
         rmstype = RMSType.Simple;
         Plot();
     });
     AddMenuItem("Calculate", "SNR from RMS", delegate
     {
         XYSelectForm xy = new XYSelectForm("Signal:", "Noise:", rp.PlotKeys);
         if (DialogResult.OK == xy.ShowDialog())
         {
             xaxis   = xy.XAxis;
             yaxis   = xy.YAxis;
             rmstype = RMSType.SNRfromRMS;
             Plot();
         }
     });
 }