|
From: Jeff W. <js...@fa...> - 2011-12-01 22:44:18
|
On 12/1/11 11:39 AM, Bruce Ford wrote: > Yes, as a matter of fact I create an identical basemap object as the > plotted gridded data. And the lines (tropical cyclone tracks) plot > fine as long as the projection is 'cyl'. > > Bruce Bruce: Can you post a self-contained example? -Jeff > > > > > > On Thu, Dec 1, 2011 at 12:35 PM, Jeff Whitaker <js...@fa... > <mailto:js...@fa...>> wrote: > > On 12/1/11 7:34 AM, Bruce Ford wrote: > > I have a basemap figure where data is placed atop, which can > be in any number of differing projections. However, when I > plot a line over it using pyplot.plot, the line doesn't show > unless I'm using the cylindrical equidistant projection. > > From what I gather this is a limitation of the plot command. > Can anyone confirm this? Is this a limitation in that the > 'cyl' projection is assumed by pyplot.plot? > > I saw a post that mentioned that a projection kwarg would not > be added to the plot command. Does this mean that the plot > command will realize the projection of the gca basemap? > > Bruce > > --------------------------------------- > Bruce W. Ford > > > Bruce: Did you convert the coordinates of the data you're > plotting with pyplot.plot to map projection coordinates (by > passing the lat/lon values to the Basemap instance)? > > -Jeff > > -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |