コード例 #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
ファイル: GnuPlot.cs プロジェクト: xinhua424/GnuplotCSharp
 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
ファイル: GnuPlot.cs プロジェクト: xinhua424/GnuplotCSharp
 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);
 }