nice plot :-) #20
MaherSah
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks Ada for the help :-)
f,ax = plt.subplots(1,dpi=300,subplot_kw={'projection':ccrs.NorthPolarStereo()})#PlateCarree()})
ax.set_extent([-180, 180,60,90], ccrs.PlateCarree())
#da_plt.plot.pcolormesh(
cf = ax.contourf(da_plt.longitude, da_plt.latitude, da_plt,
cmap = plt.get_cmap('Reds'),
#ax=ax,
#norm = LogNorm(),
cbar_kwargs={
#'label':'Wind Speed [m/s]',
'orientation':'horizontal',
'shrink':.8
},
transform=ccrs.PlateCarree(),
#x='lon',y='lat',
levels = 6
)
ax.set_title('DMS concentration')
ax.coastlines()
plt.colorbar(cf)
gl = ax.gridlines(draw_labels=True)
#gl.xlabels_top = False
#gl.ylabels_right = False
#gl.top_labels(False)
#ax.add_feature(cy.feature.BORDERS);
f.tight_layout()
Beta Was this translation helpful? Give feedback.
All reactions