Thanks Jeff. I'll explore those options and see what I can do.

Mike



________________________________
 From: Jeff Whitaker <jeffrey.s.whita...@noaa.gov>
To: matplotlib-users@lists.sourceforge.net; fatuhe...@yahoo.com 
Sent: Tuesday, July 3, 2012 11:21 AM
Subject: Re: [Matplotlib-users] draw track across the Dateline in Basemap
 

On 7/3/12 11:39 AM, fatuheeva wrote:

Hello,
>I am wondering if Basemap has the ability to plot a track across the Dateline? 
>Plotting longitudes that go across the Dateline (e.g., 
>[175,177,179,-179,-176]) wraps the track back around the globe when it goes 
>from 179 to -179. Instead, I want them directly connected. My Basemap instance 
>looks like:
>
>
>m = Basemap(projection='merc',llcrnrlat = 10,urcrnrlat = 30,llcrnrlon = 160,\
>                urcrnrlon = -160,lat_ts = 20,resolution =
          'l',lon_0 = 180)
>
>
>Am I screwed on this one?
>Thanks,
>
>
>Mike
>
Mike:  There's no automagical way to do this. You either have to
    shift your map so the dateline is in the middle, or split you track
    into two segments.

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : jeffrey.s.whita...@noaa.gov 325 Broadway   
             Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to