Exemple #1
0
        public void Test_RadarPlot_WithFrame()
        {
            var plt = new ScottPlot.Plot(600, 400);

            double[,] values =
            {
                {  78, 83, 84, 76, 43 },
                { 100, 50, 70, 60, 90 }
            };

            plt.AddRadar(values);
            plt.Grid(enable: false);

            TestTools.SaveFig(plt, "1");
            plt.Frameless(false);
            TestTools.SaveFig(plt, "2");
        }
Exemple #2
0
        public void Test_Radar_ZeroNorm()
        {
            // https://github.com/ScottPlot/ScottPlot/issues/1139

            var plt = new ScottPlot.Plot(400, 300);

            double[,] values =
            {
                {  78, 83, 0, 76, 43 },
                { 100, 50, 0, 60, 90 }
            };

            double[] maxValues = { 100, 100, 0, 100, 100 };

            plt.AddRadar(values, independentAxes: true, maxValues: maxValues);

            TestTools.SaveFig(plt);
        }