Example #1
0
        private void sincReconstructionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var currPlotters = MdiChildren.Cast <PlotController>().ToList();
            var operation    = new SinglePlotOperation(currPlotters, SinglePlotOperationType.SincReconstruction);

            operation.ShowDialog();
            var plotController = operation.Result;

            if (plotController != null)
            {
                plotController.PlotType = PlotType.SincReconstruction;
                plotController.DrawPlot();
                plotController.MdiParent = this;
                plotController.Show();
            }
        }
Example #2
0
        private void reverseFastFourierTransformToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var currPlotters = MdiChildren.Cast <PlotController>().ToList();
            var operation    = new SinglePlotOperation(currPlotters, SinglePlotOperationType.ReverseFastFourierTransform);

            operation.ShowDialog();
            var plotController = operation.Result;

            if (plotController != null)
            {
                plotController.PlotType = PlotType.ReverseFastFourierTransform;
                plotController.Title    = "Odwrotna szybka transformata Fouriera";
                plotController.DrawPlot();
                plotController.MdiParent = this;
                plotController.Show();
            }
        }