Package org.jzy3d.maths

Examples of org.jzy3d.maths.Range


                return Math.exp( -(x*x+y*y) / sigma  *  Math.abs( Math.cos( 2 * Math.PI * ( x*x + y*y ) ) );
            }
        };

        // Define range and precision for the function to plot
        Range range = new Range(-.5, .5);
        int steps   = 50;
       
        // Create the object to represent the function over the given range.
        final Shape surface = (Shape)Builder.buildOrthonormal(new OrthonormalGrid(range, steps, range, steps), mapper);
        surface.setColorMapper(new ColorMapper(new ColorMapRainbow(), surface.getBounds().getZmin(), surface.getBounds().getZmax()));
View Full Code Here


                return Math.exp( -(x*x+y*y) / sigma  *  Math.abs( Math.cos( 2 * Math.PI * ( x*x + y*y ) ) );
            }
        };

        // Define range and precision for the function to plot
        Range range = new Range(-.5, .5);
        int steps   = 50;
       
        // Create the object to represent the function over the given range.
        final Shape surface = (Shape)Builder.buildOrthonormal(new OrthonormalGrid(range, steps, range, steps), mapper);
        surface.setColorMapper(new ColorMapper(new ColorMapRainbow(), surface.getBounds().getZmin(), surface.getBounds().getZmax()));
View Full Code Here

TOP

Related Classes of org.jzy3d.maths.Range

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.