From: Ted D. <ted...@jp...> - 2005-02-10 16:31:51
|
Jeff, Great timing! I was just reviewing some requirements from our users to be able to create ground track plots of spacecraft right after launch. Your package looks like it should easily do most of the work for us! One thing I do need to be able to do is to create line plots that "wrap around" a map. We generate a lot of ground tracks that use a Mercator projection covering the whole globe (x=-180->180, y=-90->90) and if the line goes off one edge, we need to wrap it around to the other edge instead of drawing a line segment all the way across the page. I had planning on creating a front end script to pre-process the data to handle this type of capability. The only issue with this approach is that it requires multiple lines be drawn (as if you're plotting multiple curves) but only one of them should show up in the legend. I was wondering anyone else has need of this and if there is a better way to implement this wrapping feature when doing map plots? Ted ps: John I promise I'll get you a Qt backend this week. We hit a few delays but I should be able to get you something this afternoon. It's basically a refactorization of the Qt backend that's in CVS right now with some drawing improvements to reduce flickering. At 05:04 AM 2/10/2005, Jeff Whitaker wrote: >The first matplotlib toolkit has been released. > >Matplotlib toolkits are collections of application-specific functions that >extend matplotlib. > >This is hopefully the first of many - additional contributions are encouraged! > >The basemap toolkit allows matplotlib to plot regularly-space >latitiude/longitude grids on map projections, including drawing >coastlines, political boundaries, parallels and meridians. It currently >supports six map projections (cylindrical equidistant, mercator, lambert >conformal conic, lambert azimuthal equal area, albers equal area and >stereographic). > >It uses routines from the proj.4 library (http://proj.maptools.org) to >perform cartographic transformations. > >Documentation - http://matplotlib.sourceforge.net/toolkits.html. > >Screenshot - http://matplotlib.sourceforge.net/screenshots/plotmap_large.png > >Example Code - http://matplotlib.sourceforge.net/screenshots/plotmap.py > >Examples for each map projection are included in the source release >(available at the sf download page >(http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=142792). > >Windows binaries are provided (thanks John!) - but they do not include the >examples. > >Comments/bug reports/suggestions are welcome. > >-Jeff > >-- >Jeffrey S. Whitaker Phone : (303)497-6313 >NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 >325 Broadway Web : http://www.cdc.noaa.gov/~jsw >Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Matplotlib-users mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-users |