Hi,

I am using mat 1.20 and basemap 1.0.5, I tried your code and don't have the
same issue.

Chao

On Tue, Aug 6, 2013 at 9:33 AM, vwf [via matplotlib] <
ml-node+s1069221n41721...@n5.nabble.com> wrote:

>
> Hello,
>
> This weekend I started using matplotlib and I think it is great.
> Beautiful graphs with very little effort.
>
> My data is geographical so I would like to draw on a map, North-Sea (UK
> - Netherlands). For this I installed the basemap on my Debian system
> (Stable/Wheezy). This has a strange problem. If I zoom out, all is
> there. If I start zooming in coastlines disappears. Is this my
> mistake, a problem in the packages in Debian, or something else?
>
> Thanks
>
> The resulting image on my system:
> http://img21.imageshack.us/img21/385/xoe7.png
>
> My system:
> Python 2.7.3 (default, Jan  2 2013, 16:53:07)
> [GCC 4.7.2] on linux2
> >>> import matplotlib
> >>> matplotlib.__version__
> '1.1.1rc2'
>
> My code:
>
> import numpy as np
> import matplotlib.pyplot as plt
> from mpl_toolkits.basemap import Basemap
>
> import matplotlib as mpl
> mpl.rcParams['font.size'] = 8.
> mpl.rcParams['font.family'] = 'Arial'
> mpl.rcParams['axes.labelsize'] = 5.
> mpl.rcParams['xtick.labelsize'] = 5.
> mpl.rcParams['ytick.labelsize'] = 5.
>
> #W-Europe
> x1 = -16.
> x2 = 30.
> y1 = 36.
> y2 = 62.
>
> m = Basemap(resolution='i',projection='merc',
> llcrnrlat=y1,urcrnrlat=y2,llcrnrlon=x1,urcrnrlon=x2,lat_ts=(x1+x2)/2)
> m.drawcountries(linewidth=0.5)
> m.drawcoastlines(linewidth=0.5)
> m.drawparallels(np.arange(y1,y2,2.),labels=[1,0,0,0],color='black',dashes=[1,0],labelstyle='+/-',linewidth=0.2)
>
> m.drawmeridians(np.arange(x1,x2,2.),labels=[0,0,0,1],color='black',dashes=[1,0],labelstyle='+/-',linewidth=0.2)
>
>
> plt.savefig('eur_101.png',dpi=100)
> plt.show()
>
>
> ------------------------------------------------------------------------------
>
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=41721&i=0>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://matplotlib.1069221.n5.nabble.com/Europe-without-coastline-tp41721.html
>  To start a new topic under matplotlib - users, email
> ml-node+s1069221n...@n5.nabble.com
> To unsubscribe from matplotlib, click 
> here<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=Y2hhb3l1ZWpveUBnbWFpbC5jb218MnwxMzg1NzAzMzQx>
> .
> NAML<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Europe-without-coastline-tp41721p41722.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to