Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread Jeff Whitaker
Mathew Yeates wrote: > I found example I wish to build on. It's embedding_in_gtk2.py under > mpl_examples/user_interfaces. I'll put a menu at the top. But how can > I add a Basemap instead of a Figure? > > Mathew Mathew: A basemap plot is just like any other matplotlib plot, it's associated wi

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread Andrew Straw
Dear Mathew, most of the basemap methods take an "ax=" keyword (drawparallels, drawmeridians, drawmapboundary and so on). Furthermore, you can transform your lat/long coordinates to projected coordinates with the __call__ method and then simply plot those directly. You can thus plot basemaps on an

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread Mathew Yeates
Thanks for the help!! Jeff Whitaker wrote: > Mathew Yeates wrote: >> I found example I wish to build on. It's embedding_in_gtk2.py under >> mpl_examples/user_interfaces. I'll put a menu at the top. But how can >> I add a Basemap instead of a Figure? >> >> Mathew > > Mathew: A basemap plot is ju

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread John Hunter
On Mon, Oct 6, 2008 at 11:23 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Basemap doesn't handle any GUI stuff - this is all done by matplotlib > proper. So, you'll need to look at the matplotlib docs to see how to > customize the toolbar. Mathew, To do stuff like adding menus and customizing

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread Mathew Yeates
I found example I wish to build on. It's embedding_in_gtk2.py under mpl_examples/user_interfaces. I'll put a menu at the top. But how can I add a Basemap instead of a Figure? Mathew Jeff Whitaker wrote: > Mathew Yeates wrote: >> Hi >> How easy is it to customize the Basemap class? I seem to re

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread Jeff Whitaker
Mathew Yeates wrote: > Hi > How easy is it to customize the Basemap class? I seem to remember an > example where something is added to the toolbar but I can't remember > which example it was. What if I want to add a menu at the top of the window? > > Mathew > > Mathew: Basemap doesn't handl

[Matplotlib-users] customizing Basemap

2008-10-06 Thread Mathew Yeates
Hi How easy is it to customize the Basemap class? I seem to remember an example where something is added to the toolbar but I can't remember which example it was. What if I want to add a menu at the top of the window? Mathew