SetLevels() public method

Sets the levels to the given values.
public SetLevels ( MatrixValue v ) : void
v MatrixValue A vector with the various levels.
return void
Exemplo n.º 1
0
        public ContourPlotValue Function(MatrixValue X, MatrixValue Y, MatrixValue Z, MatrixValue v)
        {
            var plot = new ContourPlotValue();

            plot.AddPoints(X, Y, Z);
            plot.SetLevels(v);
            return(plot);
        }
Exemplo n.º 2
0
        public ContourPlotValue Function(MatrixValue X, MatrixValue Y, MatrixValue Z, ScalarValue n)
        {
            var nn   = n.GetIntegerOrThrowException("n", Name);
            var plot = new ContourPlotValue();

            plot.AddPoints(X, Y, Z);
            plot.SetLevels(nn);
            return(plot);
        }