private void btnFunctionSeries_Click(object sender, System.EventArgs e)
        {
            plotView1.Focus();

            var xseries = new double[] { 1, 2, 3 };
            var yseries1 = new double[] { 1, 2, 3 };
            var yseries2 = new double[] { 0.5, 1, 1.5 };
            var zseries3 = new double[] { 1, 2, 3, 4, 5 };

            var plotModel = new PlotModel { Title = "BarSeries" };
            plotModel.AddScatterSeries(xseries, yseries1, OxyColors.Red);
            plotModel.AddHighlightedPoint(2.5, 2.5, OxyColors.Blue);
            plotModel.AddLineSeries(xseries, yseries2);
            plotModel.AddLineSeries(xseries, zseries3);

            plotModel.Series.Add(new FunctionSeries(Math.Cos, 0, 10, 0.1, "cos(x)"));

            plotView1.Model = plotModel;
            configurarPlotModel(plotModel);
        }