[Matplotlib-users] basemap scalebar

2008-03-03 Thread Michael Hearne
Does the capability exist in basemap to create a scale bar on the map? If not, is this planned for the future? For reference, see the -L option in GMT's psbasemap, pscoast, etc. Thanks, -- Michael Hearne [EMAIL PROTECTED] (303) 273-862

Re: [Matplotlib-users] basemap scalebar

2008-03-03 Thread Michael Hearne
Jeff - That would replicate the "simple" scale-bar from GMT. Below is my not-complete attempt at replicating the "fancy" scale bar. It would need some options for specifying different units (miles, nautical miles, etc.) and perhaps some more attention to spacing of the text from the scale

Re: [Matplotlib-users] basemap scalebar

2008-03-04 Thread Jeff Whitaker
Michael Hearne wrote: > Jeff - That would replicate the "simple" scale-bar from GMT. Below is > my not-complete attempt at replicating the "fancy" scale bar. It > would need some options for specifying different units (miles, > nautical miles, etc.) and perhaps some more attention to spacing o

Re: [Matplotlib-users] basemap scalebar

2008-03-04 Thread Michael Hearne
Jeff - I think the way GMT does it would be okay - they have a latitude of true scale, which I usually choose as the center latitude of the map. I was thinking we should allow people to choose the "simple" or "fancy" options. Do you think it will be okay to have the height of the bar and

Re: [Matplotlib-users] basemap scalebar

2008-03-06 Thread Stephane Raynaud
Hi, this scalebar is a really good idea! However, I suggest that all parameters must be optional: - The position could be by default somewhere in the lower left corner (for example). It may be interesting to find a "best" position using the algo of legend. - Then length could be estimated from au

Re: [Matplotlib-users] basemap scalebar

2008-03-06 Thread Jeff Whitaker
Stephane Raynaud wrote: > Hi, > > this scalebar is a really good idea! > > However, I suggest that all parameters must be optional: > - The position could be by default somewhere in the lower left corner > (for example). It may be interesting to find a "best" position using > the algo of legend. >

Re: [Matplotlib-users] basemap scalebar

2008-03-06 Thread Stephane Raynaud
On Thu, Mar 6, 2008 at 6:15 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Stephane Raynaud wrote: > > Hi, > > > > this scalebar is a really good idea! > > > > However, I suggest that all parameters must be optional: > > - The position could be by default somewhere in the lower left corner >

Re: [Matplotlib-users] basemap scalebar

2008-03-06 Thread Jeff Whitaker
Stephane Raynaud wrote: > On Thu, Mar 6, 2008 at 6:15 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > >> Stephane Raynaud wrote: >> > Hi, >> > >> > this scalebar is a really good idea! >> > >> > However, I suggest that all parameters must be optional: >> > - The position could be by default