Define the terrain equation.
>
|
|
Generate a Terrain object using the defined equation. Select the z-axis as the up direction. The order of the two independent variables is [x,y]. Assign the range for x to be -10 to 100, and for y to be -10 to 10. Also, assign 50 grid points for the x-axis and 10 for the y-axis. Finally, set the title to myTerrain.
>
|
|
Plot the generated terrain.
Add some unevenness to the terrain.
>
|
|
Plot the new terrain data points.
Not happy with the unevenness, delete the noise.
>
|
|
Plot the terrain again.