3. 示例代码说明 - `generate_noise()`函数用于生成随机的高度数据。 - `plot_terrain()`函数用于绘制地形地图,使用matplotlib的imshow函数将高度数据转换为图像。