Skip to content
Snippets Groups Projects
Commit 6bee5349 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent e26d0d0c
No related branches found
No related tags found
No related merge requests found
...@@ -192,6 +192,21 @@ def plot_image(image, cmap='Greys', vmin=None, vmax=None, fname=None, title=None ...@@ -192,6 +192,21 @@ def plot_image(image, cmap='Greys', vmin=None, vmax=None, fname=None, title=None
# plt.close('all') # plt.close('all')
def multi_plot(image_s, title_s, cmap, vmin=None, vmax=None, do_color_bar=True):
fig = plt.figure(figsize=(12, 8))
fig.add_subplot(1, 2, 1)
plt.imshow(image_s[0], cmap=cmap, vmin=vmin, vmax=vmax)
plt.title(title_s[0], fontweight='bold')
if do_color_bar:
plt.colorbar()
fig.add_subplot(1, 2, 2)
plt.imshow(image_s[1], cmap=cmap, vmin=vmin, vmax=vmax)
plt.title(title_s[1], fontweight='bold')
if do_color_bar:
plt.colorbar()
def plot_image2(image, cmap='Greys', title='BOEING Icing Reports 2018-2020'): def plot_image2(image, cmap='Greys', title='BOEING Icing Reports 2018-2020'):
fig = plt.figure(figsize=(12, 8)) fig = plt.figure(figsize=(12, 8))
ax = plt.axes(projection=ccrs.PlateCarree()) ax = plt.axes(projection=ccrs.PlateCarree())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment