예제 #1
0
파일: GnuPlot.cs 프로젝트: mlnethub/ML.Net
        public static void Contour(double[,] zz, string options = "", bool labelContours = true)
        {
            if (!Hold)
            {
                PlotBuffer.Clear();
            }
            var p = new StoredPlot(zz, options, PlotTypes.ContourZZ);

            p.LabelContours = labelContours;
            PlotBuffer.Add(p);
            Plot(PlotBuffer);
        }
예제 #2
0
파일: GnuPlot.cs 프로젝트: mlnethub/ML.Net
        public static void Contour(string filenameOrFunction, string options = "", bool labelContours = true)
        {
            if (!Hold)
            {
                PlotBuffer.Clear();
            }
            var p = new StoredPlot(filenameOrFunction, options, PlotTypes.ContourFileOrFunction);

            p.LabelContours = labelContours;
            PlotBuffer.Add(p);
            Plot(PlotBuffer);
        }
예제 #3
0
        public void Contour(double[] x, double[] y, double[] z, string options = "", bool labelContours = true)
        {
            if (!Hold)
            {
                PlotBuffer.Clear();
            }
            var p = new StoredPlot(x, y, z, options, PlotTypes.ContourXYZ);

            p.LabelContours = labelContours;
            PlotBuffer.Add(p);
            Plot(PlotBuffer);
        }
예제 #4
0
 public static void Contour(double[,] zz, string options = "", bool labelContours = true)
 {
     if (!Hold) PlotBuffer.Clear();
     var p = new StoredPlot(zz, options, PlotTypes.ContourZZ);
     p.LabelContours = labelContours;
     PlotBuffer.Add(p);
     Plot(PlotBuffer);
 }
예제 #5
0
 public static void Contour(string filenameOrFunction, string options = "", bool labelContours = true)
 {
     if (!Hold) PlotBuffer.Clear();
     var p = new StoredPlot(filenameOrFunction, options, PlotTypes.ContourFileOrFunction);
     p.LabelContours = labelContours;
     PlotBuffer.Add(p);
     Plot(PlotBuffer);
 }