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 <[email protected] <mailto:[email protected]>> 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 : [email protected] 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
