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