示例#1
0
        public static void ConvertPyPlot()
        {
            var x = Np.ARange(0, 5, 0.1);
            var y = Np.Sin(x);

            PyPlot.Plot(x, y);
        }
示例#2
0
        public static void ConvertArange()
        {
            var int1 = Np.ARange(5);
            var int2 = Np.ARange(5, 10);
            var int3 = Np.ARange(5, 10, 3);

            var double1 = Np.ARange(5.1);
            var double2 = Np.ARange(5.1, 10);
            var double3 = Np.ARange(5.1, 10, 3);
        }