Mathew Yeates wrote: > Hi > > I see the example of updating a plot in > examples/animation/gtk_timeout.py where the 2 lines > ---- > line.set_ydata(np.random.rand(10)) > fig.canvas.draw_idle() > ---- > > > What is the equivalent when I want to update a Basemap with new > latitudes and longitudes and I have done > m=Basemap(......) > m.plot(longitude_list,latitude_list) > > Thanks > Mathew >
Mathew: The Basemap plot method returns a list of matplotlib Line2d objects which you can use just as in the example. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users