|
From: Bruce F. <br...@cl...> - 2011-12-01 19:38:04
|
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 W. Ford Clear Science, Inc. br...@cl... http://www.ClearScienceInc.com http://www.facebook.com/clearscience http://www.twitter.com/ROVs_rule Phone: (904) 796-8101 Fax: (904) 379-9704 8241 Parkridge Circle N. Jacksonville, FL 32211 Skype: bruce.w.ford On Thu, Dec 1, 2011 at 12:35 PM, Jeff Whitaker <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 > |