Content-Type: multipart/alternative; boundary="0-137398615-1222441336=:57381" --0-137398615-1222441336=:57381 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable When using the cyl projection with the bluemarble image and a map area is n= ot the global map centered on lon,lat 0,0 I don't get the blue marbel image= to adapt to the actual map. Any suggestions?=0A=0Aimport mpl_toolkits.base= map as b=0Aimport numpy as np=0Adef draw(center=3D11.,latres=3D10.,lonres= =3D10.):=0A m =3D b.Basemap(projection=3D'cyl',lon_0=3Dcenter,lat_0=3D0.,= =0A llcrnrlon=3Dcenter-100.,urcrnrlon=3Dcenter+100.,=0A llcrnrlat= =3D-85.,urcrnrlat=3D85.,resolution=3D'i')=0A m.drawcoastlines(color=3D'r')= =0A m.drawmapboundary(color=3D'r')=0A m.drawmeridians(np.arange(center-18= 0.,center+180.,lonres),color=3D'0.5',labels=3D[0,0,0,1])=0A m.drawparallel= s(np.arange(-90,90,latres),color=3D'0.5',labels=3D[1,0,0,0])=0A im=3Dm.blu= emarble()=0A return m=0A=0A=0A --0-137398615-1222441336=:57381 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
When using the cyl projection = with the bluemarble image and a map area is not the global map centered on = lon,lat 0,0 I don't get the blue marbel image to adapt to the actual map. A= ny suggestions?

import mpl_toolkits.basemap as b
import numpy as = np
def draw(center=3D11.,latres=3D10.,lonres=3D10.):
  m =3D b.B= asemap(projection=3D'cyl',lon_0=3Dcenter,lat_0=3D0.,
    =   llcrnrlon=3Dcenter-100.,urcrnrlon=3Dcenter+100.,
  &nbs= p;   llcrnrlat=3D-85.,urcrnrlat=3D85.,resolution=3D'i')
  m.drawcoastlines(color=3D'r')
  m.drawmapboundary(color=3D'r')
=   m.drawmeridians(np.arange(center-180.,center+180.,lonres),color=3D'0= .5',labels=3D[0,0,0,1])
  m.drawparallels(np.arange(-90,90,latres),= color=3D'0.5',labels=3D[1,0,0,0])
 =0A im=3Dm.bluemarble()
 = ; return m

=0A=0A=0A=0A=0A

= =0A=0A=0A=0A=0A --0-137398615-1222441336=:57381--