Пример #1
0
"""
Plot an image map of bedrock surface elevation.
"""

import iceplotlib.plot as iplt

# load data
nc = iplt.load('pism_plot_sample.nc')

# plot
nc.imshow('topg')

# show
nc.close()
iplt.show()
Пример #2
0
"""
Animation demo.
"""

import iceplotlib.plot as iplt
import iceplotlib.animation as iani

# load data
nc = iplt.load('pism_anim_sample.nc')

# animate
ani = iani.iceanim(nc)

# show
iplt.show()

# to save the animation:
#ani.save('iceanim.mp4')
Пример #3
0
"""
Plot an image map of bedrock surface elevation.
"""

import iceplotlib.plot as iplt

# load data
nc = iplt.load("pism_plot_sample.nc")

# plot
nc.icemargin()

# show
nc.close()
iplt.show()