Here's my simplified
code:
import numpy as np
import matplotlib as mpl
from
mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
"""Input
desired lats (y) and lons(x) of plot"""
############
xmin =
-166.22
xmax = -166.134
ymin = 53.7439
ymax = 53.7827
############
m
= Basemap(projection='tmerc', lon_0=-165. , lat_0=0 , llcrnrlon=xmin,
llcrnrlat=ymin,
urcrnrlon=xmax , urcrnrlat=ymax)
meridians =
np.arange(xmin,xmax,(30/3600)) # 30 arcsecond spacing
m.drawmeridians(meridians)
parallels
= np.arange(ymin,ymax,(30/3600))
m.drawparallels(parallels)
plt.show()
--
View
this message in context:
http://matplotlib.1069221.n5.nabble.com/basemap-meridians-cut-off-tp41409.htmlSent
from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This
SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Matplotlib-users
mailing list
Matplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users