pyvista.examples.planets.load_earth#
- load_earth(radius=1.0, lat_resolution=50, lon_resolution=100)[ソース]#
惑星地球をテクスチャ付きの球体として読み込みます.
- パラメータ:
- 戻り値:
pyvista.PolyData
地球のデータセット.
例
>>> import pyvista as pv >>> from pyvista import examples >>> mesh = examples.planets.load_earth() >>> texture = examples.load_globe_texture() >>> image_path = examples.planets.download_stars_sky_background(load=False) >>> mesh.plot(texture=texture, background=image_path)
参考
load_globe_texture()
Download the surface of the Earth.
- 3D地球と天体
Example plot of the solar system.