Esempio n. 1
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);
        }
Esempio n. 2
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);
        }
        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);
        }
Esempio n. 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);
 }
Esempio n. 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);
 }