3D plots

6. 3D plots#

PolarToolkit also supports some 3D plotting. Here we will download a dataset and make a simple 3D perspective plot.

[1]:
import polartoolkit as ptk

Download a grid of Antarctic surface elevation data from REMA

[2]:
surface = ptk.fetch.rema()

Use the plot_3d function to make a perspective image.

[3]:
fig = ptk.plot_3d(
    grids=surface,
    cmaps="earth",
    exaggeration=2,
    cbar_labels="surface elevation (m)",
    epsg="3031",
)
fig.show(dpi=200)
../_images/tutorial_06_3D_plots_5_0.png

For further functionality of 3D plotting, see this how-to guide